Closed
Description
Relevant doc... https://emscripten.org/docs/api_reference/module.html
If Module['onAbort'] is set on the browser thread, given that Module is not visible to the pthread, an abort(-1) or similar will not call the onAbort function.
I would have expected that pthread creation would/could copy the onAbort handler to the pthread via threadParams so that the handling would be inherited by worker threads.
As a workaround, I plan on setting onAbort in each of our threads.
Metadata
Metadata
Assignees
Labels
No labels