Skip to content

Manage atomic flag with RAII#1

Draft
MiladR76 wants to merge 1 commit intomasterfrom
cursor/manage-atomic-flag-with-raii-e783
Draft

Manage atomic flag with RAII#1
MiladR76 wants to merge 1 commit intomasterfrom
cursor/manage-atomic-flag-with-raii-e783

Conversation

@MiladR76
Copy link
Owner

@MiladR76 MiladR76 commented Aug 5, 2025

Implements an RAII ActiveGuard class and convenience macros to automatically manage an std::atomic_bool flag, ensuring it's true on scope entry and false on exit.


Open in Cursor Open in Web

Co-authored-by: milad76r <milad76r@gmail.com>
@cursor
Copy link

cursor bot commented Aug 5, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants