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

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.

主站蜘蛛池模板: 抚远县| 赤壁市| 余姚市| 靖边县| 保亭| 蓬安县| 凉城县| 芦山县| 通州市| 湘西| 泗水县| 额尔古纳市| 东丰县| 贵阳市| 襄汾县| 灵山县| 三都| 双鸭山市| 南投市| 崇明县| 施秉县| 随州市| 奇台县| 宁海县| 荆州市| 天峨县| 碌曲县| 静乐县| 太原市| 林西县| 墨竹工卡县| 阳原县| 延寿县| 乌拉特后旗| 大名县| 彰化县| 泾阳县| 怀柔区| 富平县| 新郑市| 怀远县|