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