Hello, Is it possible to preserve PThread.* functions, like "terminateAllThreads", on the Module object when using INCOMING_MODULE_JS_API and --closure?
I tried specifying "terminateAllThreads" or "_terminateAllThreads" or "PThread.terminateAllThreads" in -sINCOMING_MODULE_JS_API, however all of the PThread's properties seem to remain mangled. P.S. If these functions aren't intended to be used by client code, then what would be a better way to force-shutdown pthread workers when one wants to dispose of the emscripten module instance? (It's using Embind, so exit() and friends don't seem to help.) Thanks, Maksim -- 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/4c8a7761-b2f4-41c4-9964-bfbb0c133b3cn%40googlegroups.com.