Skip to content
Snippets Groups Projects
Commit f4414341 authored by Avi Kivity's avatar Avi Kivity
Browse files

sched: fix race in wait_until()

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.
parent 83eef015
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment