python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Are thread_local objects initialized to 0 in C?
Are non-local thread storage duration objects initialized to 0 in C?
static thread_local int x; // is x initialized to 0?
The C17 standard says the below (in 6.2.4.4).
An object whose identifier is ...
cmutex
Votes: 0
Answers: 1
Problems accessing a _Thread_local variable in x86_64 asm
I my currently working on a project that involves asm x86_64 and instrumenting code. I insert asm code thru GIMPLE that allow me to access a variable by name and decrease it. For example: sub $%d, sp...
Andre Manada
Votes: 0
Answers: 0
How to explicitly allocate TLS for existing threads when dynamically loading a DLL in Windows?
I have a DLL (Dynamic loaded library) that loads after some time the process been running, I explicitly allocate TLS (thread local storage) as defined in Using Thread Local Storage in a Dynamic-Link L...
joepol
Votes: 0
Answers: 0
How to detect if code is being run in a "branched" async context?
First of all I want to apologize for the potential invalid terminology used in the title. I'm not really sure what to call it or if there even is a right word for it. But stick with me and I'll try to...
jool
Votes: 0
Answers: 0