-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add atomic flag management with SetFlag and GetFlag shards
Introduce AtomicFlag struct with atomic bool for flag state management. Implement `SetFlag` shard to set flag value based on input and `GetFlag` shard to retrieve the current flag state. Integrate shared flag access using getFlag function with thread-safe handling. Register new shards in channels module.
- Loading branch information
1 parent
b822a6b
commit c0db158
Showing
3 changed files
with
81 additions
and
0 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
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