Subject: Re: A problem with pthreads
To: Vsevolod Stakhov <>
From: Martin Husemann <>
List: netbsd-users
Date: 12/17/2004 14:35:29
On Fri, Dec 17, 2004 at 03:21:45PM +0300, Vsevolod Stakhov wrote:
> The exact error is that 
> argument for pthread_mutex_unlock is not a mutex.

Run it in gdb - it will break at that point. Go down the call stack
and check what it passes as a mutex pointer - you will notice that libpthread
is right and the application is broken.