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 8cabb58e621a9951acd5551afb85c192f2b1c690..b69bacebef3e5e5e5b191c61aa5fe0f71c1edfb3 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -2712,39 +2712,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`