Skip to content

Commit

Permalink
lock-free init_process_flags for all archs
Browse files Browse the repository at this point in the history
  • Loading branch information
kapouer authored Oct 28, 2022
1 parent 2081082 commit a35ba7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ void ResetSignalHandlers() {
#endif // __POSIX__
}

static std::atomic<uint64_t> init_process_flags = 0;
static std::atomic<uint32_t> init_process_flags = 0;

static void PlatformInit(ProcessInitializationFlags::Flags flags) {
// init_process_flags is accessed in ResetStdio(),
Expand Down

0 comments on commit a35ba7e

Please sign in to comment.