We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3cffbd commit c259b3bCopy full SHA for c259b3b
src/node.cc
@@ -431,6 +431,9 @@ void ResetSignalHandlers() {
431
#endif // __POSIX__
432
}
433
434
+// We use uint32_t since that can be accessed as a lock-free atomic
435
+// variable on all platforms that we support, which we require in
436
+// order for its value to be usable inside signal handlers.
437
static std::atomic<uint32_t> init_process_flags = 0;
438
static_assert(
439
std::is_same_v<std::underlying_type_t<ProcessInitializationFlags::Flags>,
0 commit comments