Re: Possible bug in pthreads

2008-03-17 Thread Andreas Bihlmaier
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 fou

Re: Possible bug in pthreads

2008-03-17 Thread Andreas Bihlmaier
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. > > There seems to be some problem using "static mutexes" (a mutex not > created by pthread_mutex_init()). > > Here is s

Possible bug in pthreads

2008-03-17 Thread Andreas Bihlmaier
Hello misc@, doing some C programming with threads (yeah *ugh*), I discovered a strange issue. There seems to be some problem using "static mutexes" (a mutex not created by pthread_mutex_init()). Here is some test code which works very well on linux, but gives: --> (ID:2238337024) Fi