Pop-Up Thingie

Jacob's Hideout BBS
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. FidoNet
  3. comp.lang.c
  • Re: Where does my thread-local data live ?

    From Chris M. Thomasson@3:633/10 to All on Wednesday, November 18, 2026 01:33:27
    On 11/17/2026 10:34 PM, Stefan Kanthak wrote:
    "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:

    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>
    Oh yeah. For DLL's, TlsAlloc and friends are the way to go. Iirc, in
    DLLMain, set everything up.

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • Who's Online

  • Recent Visitors

    • Thee Mad Hatter
      Sunday, November 22, 2026 14:27:53
      from Philippines via Telnet
    • Uryu Ishida
      Sunday, November 22, 2026 03:13:58
      from Lake Ozark, Missouri via Telnet
    • Thee Mad Hatter
      Sunday, November 22, 2026 02:18:19
      from Philippines via Telnet
    • Wang Bu
      Saturday, November 21, 2026 15:23:34
      from Manila, Philippines via Telnet
  • System Info

    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

© Jacob's Hideout BBS, 2026