- 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.
推薦閱讀
- 大話PLC(輕松動漫版)
- 區塊鏈架構與實現:Cosmos詳解
- 編寫高質量代碼:改善Python程序的91個建議
- JSP開發案例教程
- Big Data Analytics
- Python Data Structures and Algorithms
- Multithreading in C# 5.0 Cookbook
- 編程菜鳥學Python數據分析
- 圖數據庫實戰
- Visual C#.NET Web應用程序設計
- Distributed Computing in Java 9
- Natural Language Processing with Python Quick Start Guide
- 實戰Python網絡爬蟲
- Getting Started with the Lazarus IDE
- Kotlin程序員面試算法寶典