diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-12-06 02:39:16 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2020-05-15 20:37:40 +0300 |
commit | c7eeef568ce5a3714b89689160ec85c017527364 (patch) | |
tree | 1cbbbf9d968d54753cf41ae62ce97e7e0e149888 /src/node_options.h | |
parent | d3a8a23089af06bb047bf9bad7531fbfc70f6314 (diff) |
cli: add `--trace-atomics-wait` flag
Adds a flag that helps with debugging deadlocks due to incorrectly
implemented `Atomics.wait()` calls.
PR-URL: https://github.com/nodejs/node/pull/33292
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'src/node_options.h')
-rw-r--r-- | src/node_options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_options.h b/src/node_options.h index bbe5617cdc8..54710e48770 100644 --- a/src/node_options.h +++ b/src/node_options.h @@ -140,6 +140,7 @@ class EnvironmentOptions : public Options { std::string redirect_warnings; bool test_udp_no_try_send = false; bool throw_deprecation = false; + bool trace_atomics_wait = false; bool trace_deprecation = false; bool trace_exit = false; bool trace_sync_io = false; |