source:
trip-planner-front/node_modules/piscina/test/fixtures/wait-for-notify.ts@
76712b2
Last change on this file since 76712b2 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.