Closed DouglasDwyer closed 7 months ago
The WASI SDK doesn't handle threads too well - variables marked as thread_local actually appear to compile as normal static variables on WASM. This was messing up my multithreading code. This PR fixes things.
thread_local
static
The WASI SDK doesn't handle threads too well - variables marked as
thread_local
actually appear to compile as normalstatic
variables on WASM. This was messing up my multithreading code. This PR fixes things.