diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-03-30 12:06:39 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-03-30 12:06:39 -0400 |
commit | b8be64c43da207a2f497c1c5b5720e4a2027348a (patch) | |
tree | 943491b9a0212fe048fbe3c8d8d71202fe883867 /src/internal/futex.h | |
parent | a1eb8cb5dab06dd23c256d03d82ef6b0efc4b6c6 (diff) | |
download | musl-b8be64c43da207a2f497c1c5b5720e4a2027348a.tar.gz musl-b8be64c43da207a2f497c1c5b5720e4a2027348a.tar.xz musl-b8be64c43da207a2f497c1c5b5720e4a2027348a.zip |
optimize timer creation and possibly protect against some minor races
the major idea of this patch is not to depend on having the timer pointer delivered to the signal handler, and instead use the thread pointer to get the callback function address and argument. this way, the parent thread can make the timer_create syscall while the child thread is starting, and it should never have to block waiting for the barrier.
Diffstat (limited to 'src/internal/futex.h')
0 files changed, 0 insertions, 0 deletions