aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_mutex_trylock.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-10-03 00:11:16 -0400
committerRich Felker <dalias@aerifal.cx>2011-10-03 00:11:16 -0400
commitb8688ff87574fad6b3056443a5385010952fb243 (patch)
tree7df75ffc26a4ea088ed100bd03309326bdbfce20 /src/thread/pthread_mutex_trylock.c
parentuse count=0 instead of 1 for recursive mutex with only one lock reference (diff)
downloadgrovel-b8688ff87574fad6b3056443a5385010952fb243.tar.gz
grovel-b8688ff87574fad6b3056443a5385010952fb243.tar.xz
fix crash if pthread_mutex_unlock is called without ever locking
this is valid for error-checking mutexes; otherwise it invokes UB and would be justified in crashing.
Diffstat (limited to 'src/thread/pthread_mutex_trylock.c')
0 files changed, 0 insertions, 0 deletions