Changeset 709594f0 in rtems for cpukit/posix/src/nanosleep.c

Timestamp:
08/01/16 20:54:18 (8 years ago)
Author:
Gedare Bloom <gedare@…>
Branches:
5, master
Children:
9a4eca5
Parents:
21d73655
git-author:
Gedare Bloom <gedare@…> (08/01/16 20:54:18)
git-committer:
Gedare Bloom <gedare@…> (08/10/16 16:09:50)
Message:

posix: nanosleep: adjust elapsed time calculation

Use clock_gettime before and after sleep to calculate
the time spent asleep, and the amount of time remaining.

updates #2732

(No files)

Note: See TracChangeset for help on using the changeset viewer.