timer threads should sleep and stay asleep... a long time
[musl] / src / time / timer_getoverrun.c
1 #include <time.h>
2 #include "pthread_impl.h"
3
4 int timer_getoverrun(timer_t t)
5 {
6         if ((uintptr_t)t & 1) t = (void *)((unsigned long)t / 2);
7         else t = ((pthread_t)t)->result;
8         return syscall(SYS_timer_getoverrun, (long)t);
9 }