|author||Rich Felker <firstname.lastname@example.org>||2011-03-30 13:04:55 -0400|
|committer||Rich Felker <email@example.com>||2011-03-30 13:04:55 -0400|
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.
Diffstat (limited to 'src/thread')
0 files changed, 0 insertions, 0 deletions