node/benchmark/worker
Ruben Bridgewater fbd55a8139
lib: do not crash using workers with disabled shared array buffers
This allows the repl to function normally while using the
`--no-harmony-sharedarraybuffer` V8 flag.
It also fixes using workers while using the
`--no-harmony-atomics` V8 flag.

Fixes: https://github.com/nodejs/node/issues/39717

Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/41023
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2023-02-18 11:18:04 +01:00
..
atomics-wait.js lib: do not crash using workers with disabled shared array buffers 2023-02-18 11:18:04 +01:00
bench-eventlooputil.js
echo.js benchmark: add trailing commas 2023-01-29 19:13:35 +01:00
messageport.js benchmark: add trailing commas 2023-01-29 19:13:35 +01:00