Skip to content

Fix std::condition_variable spurious wakeup handling#93

Merged
antonio2368 merged 1 commit intomasterfrom
cv
Mar 17, 2026
Merged

Fix std::condition_variable spurious wakeup handling#93
antonio2368 merged 1 commit intomasterfrom
cv

Conversation

@al13n321
Copy link
Copy Markdown
Member

cv_.wait(lock) may wake up spuriously, so it should ~always be in a loop or use a callback.

@al13n321 al13n321 requested a review from antonio2368 March 16, 2026 23:56
@antonio2368 antonio2368 merged commit ab2d532 into master Mar 17, 2026
1 check passed
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