- Mastering C++ Multithreading
- Maya Posch
- 65字
- 2021-07-15 17:34:04
Thread local storage
Thread local storage (TLS) with Windows threads is similar to Pthreads in that a central key (TLS index) has to be created first after which individual threads can use that global index to store and retrieve local values.
Like with Pthreads, this involves a similar amount of manual memory management, as the TLS value has to be allocated and deleted by hand.
推薦閱讀
- R語(yǔ)言數(shù)據(jù)分析從入門到精通
- The Android Game Developer's Handbook
- 大學(xué)計(jì)算機(jī)應(yīng)用基礎(chǔ)實(shí)踐教程
- 兩周自制腳本語(yǔ)言
- 我的第一本算法書
- Visual C#通用范例開(kāi)發(fā)金典
- Windows內(nèi)核編程
- HTML5從入門到精通(第4版)
- Go語(yǔ)言精進(jìn)之路:從新手到高手的編程思想、方法和技巧(2)
- Vue.js 2 Web Development Projects
- 軟件自動(dòng)化測(cè)試實(shí)戰(zhàn)解析:基于Python3編程語(yǔ)言
- Python Natural Language Processing
- 匯編語(yǔ)言程序設(shè)計(jì)教程
- The Java Workshop
- Boost.Asio C++ Network Programming Cookbook