_emscripten_thread_exit

Internal Emscripten function.

Called from a Web Worker when a pthread is detached from the web worker. Runs thread destructors and internal cleanup, does not release StructPthread.

void _emscripten_thread_exit(void* result)