diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-10-03 00:11:16 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-10-03 00:11:16 -0400 |
commit | b8688ff87574fad6b3056443a5385010952fb243 (patch) | |
tree | 7df75ffc26a4ea088ed100bd03309326bdbfce20 /src/thread/pthread_mutex_trylock.c | |
parent | use count=0 instead of 1 for recursive mutex with only one lock reference (diff) | |
download | grovel-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