Changes in uspace/lib/posix/source/time.c [39026d7c:78188e5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/source/time.c
r39026d7c r78188e5 45 45 #include "posix/assert.h" 46 46 47 #include "libc/ async.h"47 #include "libc/fibril_synch.h" 48 48 #include "libc/malloc.h" 49 49 #include "libc/task.h" … … 314 314 // TODO: interruptible sleep 315 315 if (rqtp->tv_sec != 0) { 316 async_sleep(rqtp->tv_sec);316 fibril_sleep(rqtp->tv_sec); 317 317 } 318 318 if (rqtp->tv_nsec != 0) { 319 async_usleep(rqtp->tv_nsec / 1000);319 fibril_usleep(rqtp->tv_nsec / 1000); 320 320 } 321 321 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.