Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only need to wait for a single scheduler thread to become active (#4544)
Prior to this commit, ponyint_sched_maybe_wakeup_if_all_asleep would wait until the number of active scheduler check variable matched the active schedule count variable. This could potentially cause it to unnecessarily wait for more than 1 scheduler thread to become fully active. This commit changes the logic to only wait until the active scheduler check variable indicates that there is at least one fully active scheduler.
- Loading branch information