- Mastering C++ Multithreading
- Maya Posch
- 109字
- 2021-07-15 17:34:04
Advanced management
Advanced thread management with Windows threads includes jobs, fibers, and thread pools. Jobs essentially allow one to link multiple threads together into a singular unit, enabling one to change properties and the status of all these threads in one go.
Fibers are light-weight threads, which run within the context of the thread which creates them. The creating thread is expected to schedule these fibers itself. Fibers also have Fiber Local Storage (FLS) akin to TLS.
Finally, the Windows threads API provides a Thread Pool API, allowing one to easily use such a thread pool in one's application. Each process is also provided with a default thread pool.
推薦閱讀
- Facebook Application Development with Graph API Cookbook
- Instant Testing with CasperJS
- TypeScript Blueprints
- 摩登創客:與智能手機和平板電腦共舞
- C# 從入門到項目實踐(超值版)
- Developing Middleware in Java EE 8
- PHP+MySQL網站開發項目式教程
- 智能搜索和推薦系統:原理、算法與應用
- 深度學習原理與PyTorch實戰(第2版)
- Modern C++ Programming Cookbook
- JavaScript程序設計:基礎·PHP·XML
- Java EE 7 with GlassFish 4 Application Server
- 創意UI Photoshop玩轉移動UI設計
- Learning C++ by Creating Games with UE4
- 深入淺出Go語言核心編程