-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds std::atomic<bool> g_reorg_in_progress
This implements an atomic boolean that is used by the core to indicate a reorganization is in progress. This is in turn used by modules such as poll tallies, which use minimal locking, to determine when core state has changed and take actions accordingly.
- Loading branch information
1 parent
4651af0
commit fda492b
Showing
5 changed files
with
153 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.