"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:Oh yeah. For DLL's, TlsAlloc and friends are the way to go. Iirc, in
What about:
__declspec(thread) int x;
Take a look at <https://skanthak.hier-im-netz.de/blunder.html#blunder114>
as well as <https://skanthak.hier-im-netz.de/msvcrt.html#tls>
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 5 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 498678:43:08 |
| Calls: | 212 |
| Calls today: | 3 |
| Files: | 912 |
| D/L today: |
31 files (22,593K bytes) |
| Messages: | 69,882 |