Icard/angular-clarity-master(work.../node_modules/piscina/test/fixtures/notify-then-sleep.ts

6 lines
148 B
TypeScript
Raw Normal View History

2024-07-16 14:55:36 +00:00
module.exports = function (i32array) {
Atomics.store(i32array, 0, 1);
Atomics.notify(i32array, 0, Infinity);
Atomics.wait(i32array, 0, 1);
};