diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-03-29 15:49:14 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-03-29 15:49:14 -0400 |
commit | 2142cafdc7692428b5f993fe211279d1ed2e7271 (patch) | |
tree | da35f800b9c881471e3c8ce4843605dd7d563c65 /src/unistd/access.c | |
parent | 54316a52b2119edf73e274c8b4f25d7757f7b4d3 (diff) | |
download | musl-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/unistd/access.c')
0 files changed, 0 insertions, 0 deletions