diff options
author | Jérémy Lal <kapouer@melix.org> | 2022-10-31 21:45:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-31 20:45:00 +0000 |
commit | 3d1bdc954dadfd64117a251bfcde6f237c30fd68 (patch) | |
tree | aa968261d8e94b3bde4ae1d0bedfccd7e18f2c73 /src/node.h | |
parent | ccd81e8717c702ab9772f7e54d3d08c8d279679e (diff) | |
download | node-new-3d1bdc954dadfd64117a251bfcde6f237c30fd68.tar.gz |
src: lock-free init_process_flags
Fix https://github.com/nodejs/node/issues/45152
PR-URL: https://github.com/nodejs/node/pull/45221
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Diffstat (limited to 'src/node.h')
-rw-r--r-- | src/node.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node.h b/src/node.h index 0e307ccb33..561af15556 100644 --- a/src/node.h +++ b/src/node.h @@ -228,6 +228,8 @@ class MultiIsolatePlatform; class InitializationResultImpl; namespace ProcessFlags { +// TODO(addaleax): Switch to uint32_t to match std::atomic<uint32_t> +// init_process_flags in node.cc enum Flags : uint64_t { kNoFlags = 0, // Enable stdio inheritance, which is disabled by default. |