On Mon, Mar 17, 2008 at 04:42:57PM +0100, Andreas Bihlmaier wrote:
> On Mon, Mar 17, 2008 at 04:33:34PM +0100, Andreas Bihlmaier wrote:
> > Hello misc@,
> > 
> > doing some C programming with threads (yeah *ugh*), I discovered a
> >     strange issue.
> > 

Okay replying to myself AGAIN since I found out where I was wrong:

<snip from /usr/include/pthread.c>
#define PTHREAD_MUTEX_DEFAULT           PTHREAD_MUTEX_ERRORCHECK

<snip from linux man page (about using no error checking mutexes by
DEFAULT)>
This is non-portable behavior...

Thanks to people at #openbsd for pointing me in the right direction.

Regards
ahb

Reply via email to