-
Avi Kivity authored
We need to put ourself back in wait mode after every loop iteration, otherwise a spurious wakeup can result in the predicate returning false, and then we will never wait again, instead spinning endlessly.
Avi Kivity authoredWe need to put ourself back in wait mode after every loop iteration, otherwise a spurious wakeup can result in the predicate returning false, and then we will never wait again, instead spinning endlessly.