File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -429,7 +429,7 @@ void ResetSignalHandlers() {
429429#endif // __POSIX__
430430}
431431
432- static std::atomic<uint64_t > init_process_flags = 0 ;
432+ static std::atomic<uint32_t > init_process_flags = 0 ;
433433
434434static void PlatformInit (ProcessInitializationFlags::Flags flags) {
435435 // init_process_flags is accessed in ResetStdio(),
Original file line number Diff line number Diff line change @@ -228,7 +228,8 @@ class MultiIsolatePlatform;
228228class InitializationResultImpl ;
229229
230230namespace ProcessFlags {
231- enum Flags : uint64_t {
231+ // uint32_t is lock-free
232+ enum Flags : uint32_t {
232233 kNoFlags = 0 ,
233234 // Enable stdio inheritance, which is disabled by default.
234235 // This flag is also implied by kNoStdioInitialization.
You can’t perform that action at this time.
0 commit comments