- 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.
推薦閱讀
- Spring Cloud Alibaba核心技術(shù)與實(shí)戰(zhàn)案例
- 嵌入式軟件系統(tǒng)測試:基于形式化方法的自動化測試解決方案
- Getting started with Google Guava
- Boost C++ Application Development Cookbook(Second Edition)
- Maven Build Customization
- 精通Scrapy網(wǎng)絡(luò)爬蟲
- Learning Laravel 4 Application Development
- 你不知道的JavaScript(中卷)
- Python機(jī)器學(xué)習(xí)編程與實(shí)戰(zhàn)
- HDInsight Essentials(Second Edition)
- The Complete Coding Interview Guide in Java
- Java Web開發(fā)就該這樣學(xué)
- 小程序,巧應(yīng)用:微信小程序開發(fā)實(shí)戰(zhàn)(第2版)
- Python3.5從零開始學(xué)
- Geospatial Development By Example with Python