Avoid a bad wake-wait on task scope idle. It was possible for poor kernel scheduling luck to have the waiter woken while the notifier was still holding the mutex. This would have then caused the waiter to try to take a lock and sleep, only to then be woken again when the notifier released the mutex.
Avoid a bad wake-wait on task scope idle.
It was possible for poor kernel scheduling luck to have the waiter
woken while the notifier was still holding the mutex. This would have
then caused the waiter to try to take a lock and sleep, only to then
be woken again when the notifier released the mutex.

iree-org/iree,iree-org/iree,iree-org/iree,google/iree,google/iree,google/iree,iree-org/iree,google/iree,google/iree,google/iree,iree-org/iree,google/iree,iree-org/iree,iree-org/iree