Thread local storage support
Opened this issue · 1 comments
vluttine commented
Any possibility to add support for thread (coroutine) local variables?
That would be very useful, thanks!
PunchShadow commented
To my best knowledge, coroutines work on the same thread.
Therefore, they share the same thread-local storage.
You can use malloc for local variables to avoid race conditions.