summaryrefslogtreecommitdiff
path: root/src/thread/__lock.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-10-20 00:22:51 -0400
committerRich Felker <dalias@aerifal.cx>2014-10-20 00:22:51 -0400
commitdc95322e18615392eea69de355edd735a15a8f36 (patch)
tree3386437650008764e8b9a9a61c389d067a6bd3dd /src/thread/__lock.c
parent60a4783ed4bd0496f7eb31f9b7eb2ad10df46677 (diff)
downloadmusl-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/__lock.c')
0 files changed, 0 insertions, 0 deletions