source:
trip-planner-front/node_modules/piscina/test/fixtures/notify-then-sleep.ts@
bdd6491
Last change on this file since bdd6491 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 148 bytes |
Line | |
---|---|
1 | module.exports = function (i32array) { |
2 | Atomics.store(i32array, 0, 1); |
3 | Atomics.notify(i32array, 0, Infinity); |
4 | Atomics.wait(i32array, 0, 1); |
5 | }; |
Note:
See TracBrowser
for help on using the repository browser.