Re: [1.7] pthread_create block

2009-06-02 Thread Thomas Stalder
Hello, I have tried the patch and my test application seem now working well. Many thanks -- Thomas 2009/6/2 Dave Korn : > Thomas Stalder wrote: > >> Sometimes pthread_create block and never return. >> >> I have made a simple program (test.c) to reproduce the problem. >> >>> gcc test.c -lpthrea

Re: [1.7] pthread_create block

2009-06-02 Thread Dave Korn
Thomas Stalder wrote: > Sometimes pthread_create block and never return. > > I have made a simple program (test.c) to reproduce the problem. > >> gcc test.c -lpthread -o test >> ./test > thread id=1 > thread id=2 > thread id=3 > thread id=4 > > thread id=3736 > > > Sometimes pthread_c

[1.7] pthread_create block

2009-06-02 Thread Thomas Stalder
Hello, Sometimes pthread_create block and never return. I have made a simple program (test.c) to reproduce the problem. > gcc test.c -lpthread -o test > ./test thread id=1 thread id=2 thread id=3 thread id=4 thread id=3736 Sometimes pthread_create block after creating arround 10 threa