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 /include/shadow.h | |
parent | 60a4783ed4bd0496f7eb31f9b7eb2ad10df46677 (diff) | |
download | musl-dc95322e18615392eea69de355edd735a15a8f36.tar.gz musl-dc95322e18615392eea69de355edd735a15a8f36.tar.xz musl-dc95322e18615392eea69de355edd735a15a8f36.zip |
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 'include/shadow.h')
0 files changed, 0 insertions, 0 deletions