"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: | Tetrazocine |
|---|---|
| Location: | Melbourne, VIC, Australia |
| Users: | 3 |
| Nodes: | 8 (0 / 8) |
| Uptime: | 11:16:59 |
| Calls: | 222 |
| Files: | 21,513 |
| Messages: | 85,351 |