You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is threre any plan to support in multi-threaded app?
The text was updated successfully, but these errors were encountered:
junyuecao
changed the title
Plan for EVAL_CTORS supporting in multi-threaded app
Any plan for EVAL_CTORS supporting in multi-threaded app?
Aug 14, 2023
error: library_pthread.js: library_pthread.js:23: #error "EVAL_CTORS is not compatible with pthreads yet (passive segments)"
which is correct, I think. The ctor-evaller would need to support passive segments, that is, segments that it can't see their absolute location at compile time, somehow.
I am not aware of current work on this, but it would be good to add eventually, and there has been other work on the ctor-evaller recently (e.g. support for WasmGC).
There is an option for emcc to speed up the initializaton but it seems not supported for multi-threaded app.
https://emscripten.org/docs/optimizing/Optimizing-Code.html#eval-ctors
Is threre any plan to support in multi-threaded app?
The text was updated successfully, but these errors were encountered: