Changeset 5f97ef44 in mainline for uspace/lib/posix/src/time.c
- Timestamp:
- 2018-07-13T14:10:15Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e3787a0
- Parents:
- 9912f49
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-13 14:08:57)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-13 14:10:15)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/src/time.c
r9912f49 r5f97ef44 297 297 // TODO: interruptible sleep 298 298 if (rqtp->tv_sec != 0) { 299 async_sleep(rqtp->tv_sec);299 fibril_sleep(rqtp->tv_sec); 300 300 } 301 301 if (rqtp->tv_nsec != 0) { 302 async_usleep(rqtp->tv_nsec / 1000);302 fibril_usleep(rqtp->tv_nsec / 1000); 303 303 } 304 304 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.