musl/arch/x86_64
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
..
bits avoid all malloc/free in timer creation/destruction 2011-03-30 13:04:55 -04:00
atomic.h optimize contended normal mutex case; add int compare-and-swap atomic 2011-03-17 12:14:40 -04:00
pthread_arch.h overhaul cancellation to fix resource leaks and dangerous behavior with signals 2011-03-24 14:18:00 -04:00