let ms = 10000; Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, ms); // exactly sleep in python or in bash