Skip to content

Conversation

elupus
Copy link
Contributor

@elupus elupus commented May 8, 2025

If mutex is not held when signalling the condition variable, a thread woken up by the mutex unlock,
may have lower priority than the thread waiting
on the condition leading to priority inversion.

We also don't need to wake up waiters when we
clear events, since this will never trigger
return from the wait.

If mutex is not held when signalling the condition
variable, a thread woken up by the mutex unlock,
may have lower priority than the thread waiting
on the condition leading to priority inversion.

We also don't need to wake up waiters when we
clear events, since this will never trigger
return from the wait.
@CLAassistant
Copy link

CLAassistant commented Sep 23, 2025

CLA assistant check
All committers have signed the CLA.

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