|
|
1.1 root 1: Sample: Thread Local storage without cl help
2:
3: Summary:
4:
5: This sample demonstrates using TLS to store thread
6: specific data in a DLL. As each thread attaches,
7: the memory is alloc'd and filled. As each thread
8: detaches, it is retreived and as the process detaches,
9: the tls is freed.
10:
11: This is a very basic sample, and the calls into the
12: DLL that cause TLS to be alloc'd and filled don't
13: really do anything, but this should be a good basis
14: to build TLS on.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.