A SharedArrayBuffer is not copied between worker threads: all of them see the same bytes. Plain reads and writes on it can race, so use Atomics (for example Atomics.add) for indivisible updates.