musl/src/time
Rich Felker 3990c5c6a4 avoid all malloc/free in timer creation/destruction
instead of allocating a userspace structure for signal-based timers,
simply use the kernel timer id. we use the fact that thread pointers
will always be zero in the low bit (actually more) to encode integer
timerid values as pointers.

also, this change ensures that the timer_destroy syscall has completed
before the library timer_destroy function returns, in case it matters.
2011-03-30 13:04:55 -04:00
..
__asctime.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
__time.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
__time_to_tm.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
__tm_to_time.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
asctime.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
asctime_r.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
clock.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
clock_getcpuclockid.c implement the remaining clock_* interfaces 2011-02-19 12:43:56 -05:00
clock_getres.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
clock_gettime.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
clock_nanosleep.c if returning errno value directly from a syscall, we need to negate it. 2011-03-19 23:18:34 -04:00
clock_settime.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
ctime.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
ctime_r.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
difftime.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
gettimeofday.c syscall overhaul part two - unify public and internal syscall interface 2011-03-19 21:36:10 -04:00
gmtime.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
gmtime_r.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
localtime.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
localtime_r.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
mktime.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
nanosleep.c overhaul cancellation to fix resource leaks and dangerous behavior with signals 2011-03-24 14:18:00 -04:00
strftime.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
strptime.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
time.c syscall overhaul part two - unify public and internal syscall interface 2011-03-19 21:36:10 -04:00
timer_create.c avoid all malloc/free in timer creation/destruction 2011-03-30 13:04:55 -04:00
timer_delete.c avoid all malloc/free in timer creation/destruction 2011-03-30 13:04:55 -04:00
timer_getoverrun.c avoid all malloc/free in timer creation/destruction 2011-03-30 13:04:55 -04:00
timer_gettime.c avoid all malloc/free in timer creation/destruction 2011-03-30 13:04:55 -04:00
timer_settime.c avoid all malloc/free in timer creation/destruction 2011-03-30 13:04:55 -04:00
times.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
timezone.s initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
tzset.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
utime.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00