Skip to content
Commit 6618336a authored by Gregory Nutt's avatar Gregory Nutt
Browse files

pthread_mutex_unlock(): Missing check for the case where pthread_mutex_lock()...

pthread_mutex_unlock():  Missing check for the case where pthread_mutex_lock() is called when the mutex is not locked.  In that case, it would increment the underlying semaphore avove 1.  This is the fix for a problem noted by initialkjc@yahoo.com.
parent 691442a7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment