From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Marco Ippolito Date: Wed, 1 May 2024 14:24:48 +0200 Subject: cli: move --trace-atomics-wait to eol MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/52747 Fixes: https://github.com/nodejs/node/issues/42982 Reviewed-By: Matteo Collina Reviewed-By: Rafael Gonzaga Reviewed-By: Michaƫl Zasso Reviewed-By: Benjamin Gruenbaum Reviewed-By: Yagiz Nizipli diff --git a/doc/api/cli.md b/doc/api/cli.md index 404e87e6d1237b5ee79cafd8a959c1b6d9d23fe5..7deda572c940f7b2e8c6813f1826796a13e4db38 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -2709,39 +2709,6 @@ added: v12.0.0 Set default [`tls.DEFAULT_MIN_VERSION`][] to 'TLSv1.3'. Use to disable support for TLSv1.2, which is not as secure as TLSv1.3. -### `--trace-atomics-wait` - - - -> Stability: 0 - Deprecated - -Print short summaries of calls to [`Atomics.wait()`][] to stderr. -The output could look like this: - -```text -(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 `SharedArrayBuffer` in question, as well as the - byte offset corresponding to the index passed to `Atomics.wait()` -* The expected value that was passed to `Atomics.wait()` -* The timeout passed to `Atomics.wait` - ### `--trace-deprecation`