线程局部存储(Thread Local Storage:TLS) 参见Windows Programming的解释是"唯一于各个线程的持久性存储"MSDN的解释是 "Thread Local Storage (TLS) is the method by which each thread in a given multithreaded process may allocate locations in which to store thread-specific data. -在多线程程序中, TLS实现了每个线程都可以为自己特定的数据分配存储空间的方法"由以下4个API来操作TlsAlloc, TlsGetValue, TlsSetValue, TlsFree
参见Windows Programming的解释是"唯一于各个线程的持久性存储"MSDN的解释是
"Thread Local Storage (TLS) is the method by which each thread in a given multithreaded process may allocate locations in which to store thread-specific data.
-在多线程程序中, TLS实现了每个线程都可以为自己特定的数据分配存储空间的方法"由以下4个API来操作TlsAlloc, TlsGetValue, TlsSetValue, TlsFree
讲得较细.