this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #526 from jamesu/fix_clock_sleep

Use more correct clock_nanosleep instead of clock_sleep

authored by

Luboš Doležel and committed by
GitHub
dc16bd2a 08c2ef7d

+1 -1
+1 -1
src/kernel/emulation/linux/mach/mach_time.c
··· 21 21 struct timespec ts = { deadline / NSEC_PER_SEC, deadline % NSEC_PER_SEC }; 22 22 23 23 do_sleep: 24 - if (clock_sleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &ts, 0) == -1) 24 + if (clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &ts, 0) == -1) 25 25 { 26 26 if (errno == EINTR) 27 27 goto do_sleep;