summaryrefslogtreecommitdiff
path: root/src/thread/lock_ptc.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/lock_ptc.c
parent54316a52b2119edf73e274c8b4f25d7757f7b4d3 (diff)
downloadmusl-2142cafdc7692428b5f993fe211279d1ed2e7271.tar.gz
musl-2142cafdc7692428b5f993fe211279d1ed2e7271.tar.bz2
musl-2142cafdc7692428b5f993fe211279d1ed2e7271.tar.xz
musl-2142cafdc7692428b5f993fe211279d1ed2e7271.zip
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/lock_ptc.c')
0 files changed, 0 insertions, 0 deletions