diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-03-10 18:31:37 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-03-10 18:31:37 -0500 |
commit | 5fcebcde6aeba6ae4a339790beba5331fbcd3b6e (patch) | |
tree | 8ed33494f1f8ac060f756027847b73d897274d7a /src/thread/cancellation.c | |
parent | dc54a7cbb9f0aad6f614131ecc683fbb0b717115 (diff) | |
download | musl-5fcebcde6aeba6ae4a339790beba5331fbcd3b6e.tar.gz |
optimize pthread termination in the non-detached case
we can avoid blocking signals by simply using a flag to mark that the
thread has exited and prevent it from getting counted in the rsyscall
signal-pingpong. this restores the original pthread create/join
throughput from before the sigprocmask call was added.
Diffstat (limited to 'src/thread/cancellation.c')
0 files changed, 0 insertions, 0 deletions