Subject: pthread_mutex_unlock() question.
To: None <email@example.com>
From: Andrew Gillham <firstname.lastname@example.org>
Date: 05/16/2003 23:30:27
I'm trying to get Asterisk (the opensource PBX) up and running on my
I'm running into a problem where pthread_mutex_unlock() is getting
called twice for the same mutex, which causes libpthread to kill the
Error detected, file "/usr/src/lib/libpthread/pthread_mutex.c", line 339, function "pthread_mutex_unlock": Unlocking unlocked mutex.
Abort trap (core dumped)
What I would like to know, is what is the proper way to check whether
the mutex is already unlocked?