Pop-Up Thingie

d0p3 BBS
  • Home
  • Forum
  • Files
  • Register
  • 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 Wed Nov 18 01:33:27 2026
    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

    • Guest
      Sun Jun 14 06:31:07 2026
      from Ny via Telnet
    • Frostydev
      Mon Jul 13 05:56:46 2026
      from Maryland via Raw
    • Guest
      Mon Sep 28 16:42:48 2026
      from Burrow, Ground via Telnet
    • Guest
      Tue Nov 3 07:00:58 2026
      from Maine, Usa via Telnet
  • System Info

    Sysop: Tetrazocine
    Location: Melbourne, VIC, Australia
    Users: 3
    Nodes: 8 (0 / 8)
    Uptime: 11:16:59
    Calls: 222
    Files: 21,513
    Messages: 85,351

© d0p3 BBS, 2026