source:
azure_iot_hub_mbedtls/trunk/musl-1.1.18/src/thread/pthread_getcpuclockid.c
Last change on this file was 398, checked in by , 5 years ago | |
---|---|
|
|
File size: 133 bytes |
Rev | Line | |
---|---|---|
[398] | 1 | #include "pthread_impl.h" |
2 | ||
3 | int pthread_getcpuclockid(pthread_t t, clockid_t *clockid) | |
4 | { | |
5 | *clockid = (-t->tid-1)*8U + 6; | |
6 | return 0; | |
7 | } |
Note:
See TracBrowser
for help on using the repository browser.