I've been using emscripten_async_run_in_main_runtime_thread for 6 months or so now and it works great for me.
I do feel this stuff needs to be better docced, emscripten.org has nothing about threading in the API reference section, I feel like there should at least be a 'threading.h' page in there? There's some useful stuff in 'Wasm Workers API' (that's where searching for emscripten_async_run_in_main_runtime_thread takes me) although I've need used a 'Wasm Worker' so this feels like the wrong place to be looking for info on threading. Bye! Mark -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/3b303b63-4008-49f0-bb8b-f48a8c0b294fn%40googlegroups.com.