- 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.
推薦閱讀
- Learning NServiceBus(Second Edition)
- C語言程序設計教程(第2版)
- Neo4j Essentials
- Python計算機視覺編程
- PostgreSQL 11從入門到精通(視頻教學版)
- Visual C
- JavaScript:Moving to ES2015
- NGINX Cookbook
- Python極簡講義:一本書入門數據分析與機器學習
- Go Systems Programming
- Access 2016數據庫應用與開發:實戰從入門到精通(視頻教學版)
- Unity與C++網絡游戲開發實戰:基于VR、AI與分布式架構
- Flask Web開發實戰:入門、進階與原理解析
- iOS程序員面試筆試真題與解析
- OpenCL異構并行計算:原理、機制與優化實踐