WebAssembly wait & notify not working across wasi threads
I’m trying to make a thread_join
function in WebAssembly by setting a mutex to 1 in the main thread, and then launching a thread. the thread unlocks its mutex before exiting. the main thread can get notified with the threads exit by trying to acquire the mutex and releasing it.
WebAssembly wait & notify not working cross wasi threads
I’m trying to make a thread_join
function in WebAssembly by setting a mutex to 1 in the main thread, and then launching a thread. the thread unlocks its mutex before exiting. the main thread can get notified with the threads exit by trying to acquire the mutex and releasing it.