Print short summaries of calls to [Atomics.wait()][] to stderr.
The output could look like this:
(node:15701) [Thread 0] Atomics.wait(<address> + 0, 1, inf) started(node:15701) [Thread 0] Atomics.wait(<address> + 0, 1, inf) did not wait because the values mismatched(node:15701) [Thread 0] Atomics.wait(<address> + 0, 0, 10) started(node:15701) [Thread 0] Atomics.wait(<address> + 0, 0, 10) timed out(node:15701) [Thread 0] Atomics.wait(<address> + 4, 0, inf) started(node:15701) [Thread 1] Atomics.wait(<address> + 4, -1, inf) started(node:15701) [Thread 0] Atomics.wait(<address> + 4, 0, inf) was woken up by another thread(node:15701) [Thread 1] Atomics.wait(<address> + 4, -1, inf) was woken up by another thread
The fields here correspond to:
- The thread id as given by [
worker_threads.threadId][] - The base address of the
SharedArrayBufferin question, as well as the byte offset corresponding to the index passed toAtomics.wait() - The expected value that was passed to
Atomics.wait() - The timeout passed to
Atomics.wait
