lockstep_scheduler: fix system_sleep -> system_usleep

The effect was that threads that tried to exit were unnecessarily kept
running.
This did not cause problems except for increased resource usage.
This commit is contained in:
Beat Küng 2019-03-07 10:38:00 +01:00 committed by Daniel Agar
parent 08298ab3d0
commit e999075ac7
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ private:
// we need to wait until it's removed.
while (!removed) {
#ifndef UNIT_TESTS // unit tests don't define system_usleep and execute faster w/o sleeping here
system_sleep(5000);
system_usleep(5000);
#endif
}
}