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
Fix multithreading to work in Deno and Bun (#25947)
Projects using Emscripten with pthreads don't work in Deno or Bun
because those runtimes implement Web Worker APIs that Node doesn't, and
Emscripten attempts to re-implement those APIs when running in
Node/Deno/Bun in a way that conflicts with Deno and Bun's own
implementations. This PR feature-detects Deno and Bun's `postMessage`
implementation and avoids setting up its own conflicting implementation
in that case.
Fixes: denoland/deno#17171
---------
Co-authored-by: Alon Zakai <[email protected]>
0 commit comments