diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-10-20 00:22:51 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-10-20 00:22:51 -0400 |
commit | dc95322e18615392eea69de355edd735a15a8f36 (patch) | |
tree | 3386437650008764e8b9a9a61c389d067a6bd3dd /src/thread/pthread_mutexattr_setrobust.c | |
parent | 60a4783ed4bd0496f7eb31f9b7eb2ad10df46677 (diff) | |
download | musl-dc95322e18615392eea69de355edd735a15a8f36.tar.gz |
manually "shrink wrap" fast path in pthread_once
this change is a workaround for the inability of current compilers to
perform "shrink wrapping" optimizations. in casual testing, it roughly
doubled the performance of pthread_once when called on an
already-finished once control object.
Diffstat (limited to 'src/thread/pthread_mutexattr_setrobust.c')
0 files changed, 0 insertions, 0 deletions