| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -431,6 +431,9 @@ void ResetSignalHandlers() { | |||
| 431 | 431 | #endif // __POSIX__ | |
| 432 | 432 | } | |
| 433 | 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. | ||
| 434 | 437 | static std::atomic<uint32_t> init_process_flags = 0; | |
| 435 | 438 | static_assert( | |
| 436 | 439 | std::is_same_v<std::underlying_type_t<ProcessInitializationFlags::Flags>, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments