I try converting some open source C++ project to WebAssembly by Emscripten. About multi-thread, the project uses active loop with a condition_variable to wait spawn of threads.<