summaryrefslogtreecommitdiff
path: root/src/thread/pthread_mutex_unlock.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-03-29 15:49:14 -0400
committerRich Felker <dalias@aerifal.cx>2019-03-29 15:49:14 -0400
commit2142cafdc7692428b5f993fe211279d1ed2e7271 (patch)
treeda35f800b9c881471e3c8ce4843605dd7d563c65 /src/thread/pthread_mutex_unlock.c
parent54316a52b2119edf73e274c8b4f25d7757f7b4d3 (diff)
downloadmusl-2142cafdc7692428b5f993fe211279d1ed2e7271.tar.gz
clean up access to mutex type in pthread_mutex_trylock
there was no point in masking off the pshared bit when first loading the type, since every subsequent access involves a mask anyway. not masking it may avoid a subsequent load to check the pshared flag, and it's just simpler.
Diffstat (limited to 'src/thread/pthread_mutex_unlock.c')
0 files changed, 0 insertions, 0 deletions