d15dfb2ff5835a04c66d328f27939fc4e0362c0f |
|
26-Mar-2016 |
Greg Hackmann <ghackmann@google.com> |
clock_nanosleep: add CLOCK_THREAD_CPUTIME_ID special case POSIX makes "the CPU-time clock of the calling thread" (i.e., CLOCK_THREAD_CPUTIME_ID) a special case which returns EINVAL instead of ENOTSUP. However, the clock_nanosleep syscall treats this clock just like any other, and returns -EOPNOTSUPP to indicate an unimplemented nanosleep handler. So we need to handle this ourselves in userspace. This change fixes the LTP clock_nanosleep01 testcase. Change-Id: If3bed940d276834bcd114d8c17f96197e9384711 Signed-off-by: Greg Hackmann <ghackmann@google.com>
|
929be68849b7e94caaa7ffe62b8a7b506d2cc042 |
|
16-Jun-2015 |
Elliott Hughes <enh@google.com> |
Hide accidentally-exposed __clock_nanosleep. Bug: http://b/21858067 Change-Id: Iaa83a5e17cfff796aed4f641d0d14427614d9399 (cherry picked from commit b1304935b64ffcd59cd787cc9ac83a2d14dc587b)
|
b1304935b64ffcd59cd787cc9ac83a2d14dc587b |
|
16-Jun-2015 |
Elliott Hughes <enh@google.com> |
Hide accidentally-exposed __clock_nanosleep. Bug: http://b/21858067 Change-Id: Iaa83a5e17cfff796aed4f641d0d14427614d9399
|
18160256840e9bb097f17422ea47d54fabbc9f3f |
|
12-Oct-2014 |
Haruki Hasegawa <h6a.h4i.0@gmail.com> |
Add clock_settime and clock_nanosleep. Add the missing prototypes, fix the existing prototypes to use clockid_t rather than int, fix clock_nanosleep's failure behavior, and add simple tests. Bug: 17644443 Bug: https://code.google.com/p/android/issues/detail?id=77372 Change-Id: I03fba369939403918abcabae9551a7123953d780 Signed-off-by: Haruki Hasegawa <h6a.h4i.0@gmail.com>
|