官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 昌平区| 正镶白旗| 奉节县| 津市市| 弥渡县| 东光县| 满洲里市| 常熟市| 莱州市| 沭阳县| 哈密市| 大厂| 罗平县| 仙桃市| 博野县| 广安市| 龙井市| 梨树县| 白水县| 周口市| 乾安县| 夏河县| 闽侯县| 静安区| 达尔| 鹤庆县| 双牌县| 中超| 江陵县| 临夏市| 北票市| 肇东市| 重庆市| 桦甸市| 从化市| 嘉黎县| 高平市| 安吉县| 霞浦县| 普格县| 寻乌县|