Open vluttine opened 3 years ago
Any possibility to add support for thread (coroutine) local variables?
That would be very useful, thanks!
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.
Any possibility to add support for thread (coroutine) local variables?
That would be very useful, thanks!