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
Move emscripten_wasm_worker_self_id to native code. NFC (#26468)
This will speed up this function significantly which is going to be
important for hybrid pthreads + Wasm Workers builds where we need to be
able to distinguish between Wasm Workers and non-Wasm Workers sometimes
at the very local level.
Note that this function returns 0 for all non-Wasm Workers, which
includes both the main thread and pthreads.
Also, move emscripten_current_thread_is_wasm_worker since that is
trivially implemented on top of `_self_id()`
0 commit comments