Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow set_thread_state to yield again if other thread is active
This change was only introduced to never yield while holding a lock in condition_variable::notify_all. However, that was relaxed to not hold a lock while resuming threads so we can again allow yielding in set_thread_state.
- Loading branch information