source:
trip-planner-front/node_modules/piscina/test/fixtures/notify-then-sleep.ts@
571e0df
Last change on this file since 571e0df was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 148 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 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.