Actions
Bug #355
closedThere's no clock_nanosleep() in time.h
Start date:
05/23/2013
Due date:
% Done:
100%
Estimated time:
Target CPU Architecture:
all
Host OS:
Toolchain:
all
Android version:
CrystaX NDK Version:
Files
Actions
Added by Dmitry M. about 12 years ago. Updated over 10 years ago.
100%
Files
arm_clock_nanosleep.S (332 Bytes) arm_clock_nanosleep.S | Dmitry M., 05/27/2013 06:09 PM | ||
mips_clock_nanosleep.S (382 Bytes) mips_clock_nanosleep.S | Dmitry M., 05/27/2013 06:09 PM | ||
x86_clock_nanosleep.S (629 Bytes) x86_clock_nanosleep.S | Dmitry M., 05/27/2013 06:09 PM |
One of the most important cases we need to check:
clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &sleeping, NULL)
Actually clock_nanosleep() is absent from C headers but there is correspondent syscall. So, fix is simple and consists of two steps:
Implementations for arm, mips and x86 are attached to this ticket