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

6 lines
148 B
TypeScript

module.exports = function (i32array) {
Atomics.store(i32array, 0, 1);
Atomics.notify(i32array, 0, Infinity);
Atomics.wait(i32array, 0, 1);
};