7 ms·
That's the same as any other index or member access. It's myThreadLocalBlock->myVariable. thread_local is an example of something else unusual though - a struc
by pocksuppet 6d ago
That's the same as any other index or member access. It's myThreadLocalBlock->myVariable.
thread_local is an example of something else unusual though - a struct linker as seen in https://yosefk.com/blog/i-want-a-struct-linker.html https://yosefk.com/blog/i-want-a-struct-linker.html and it even supports dynamic loading.