Changeset 39026d7c in mainline for uspace/lib/posix/source/time.c
- Timestamp:
- 2017-11-29T23:41:05Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 908d634
- Parents:
- f300523
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/source/time.c
rf300523 r39026d7c 45 45 #include "posix/assert.h" 46 46 47 #include "libc/ fibril_synch.h"47 #include "libc/async.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 fibril_sleep(rqtp->tv_sec);316 async_sleep(rqtp->tv_sec); 317 317 } 318 318 if (rqtp->tv_nsec != 0) { 319 fibril_usleep(rqtp->tv_nsec / 1000);319 async_usleep(rqtp->tv_nsec / 1000); 320 320 } 321 321 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.