14 Comments
⭠ Return to thread

Thanks for the article!

But how do you do "per_thread" globals in C in a portable way? I only know of __thread but it doesn't seem portable or even part of the standard.

If you have a custom macro, I'd love a peek :)

Expand full comment