Hacker News new | ask | show | jobs
by pocksuppet 84 days 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 and it even supports dynamic loading.