|
|
Microsoft Windows NT Build 297 06-28-1992
Sample: Using TLS to Store Thread-Specific Data in a DLL Sample: The TLS sample demonstrates using TLS (thread local storage) to store thread-specific data in a DLL. As each thread attaches, the memory is alloc'd and filled. As each thread detaches, it is retreived and as the process detaches, the TLS is freed. This is a very basic sample, and the calls into the DLL that cause TLS to be alloc'd and filled do not really do anything, however this should be a good basis to build TLS on.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.