3 ms·
The `thread_local` specifier is used on a few microcontroller platforms already, but would be absolutely illegal in C11 and before to use. However, it vastly si
by shakna 2y ago
The `thread_local` specifier is used on a few microcontroller platforms already, but would be absolutely illegal in C11 and before to use. However, it vastly simplifies memory management in a threaded context.
Why would I rather step into the world of C++ just to deal with that?
- casenmgreen 2y agoIIRC, performance and cost of thread local store varies greatly between platforms. You have to know what you're biting into, before you use that.