Author :
mpi
Date :
2020-02-04 10:56:15
Hash :1159b649 Message :Replace msleep(9) by sleep_setup/setup_signal/finish() dance.
This handrolled cond_wait() dealing with signals prevents a lock
ordering problem when executing probes inside the scheduler code.
That means we stop relying on a mutex for synchronisation and instead
rely on the sleep_* internals, currently the SCHED_LOCK().
From kettenis@