Why Nostr? What is Njump?
2024-02-05 13:14:22

Stefan Reinalter on Nostr: PSA: If your platform offers a native way to declare variables in thread-local ...

PSA:
If your platform offers a native way to declare variables in thread-local storage (e.g. __declspec(thread) or __thread), use this instead of the C++ standardized thread_local.
The native version often offers superior codegen, even for simple types like int.

#cpp
Author Public Key
npub1hnjfkpfu8a8kfcl6rx4s23xxguxekqrn4hrkt0p87mzauqjwky7suzkukn