This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[1.7] pthread_create block


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 threads,
sometimes after creating arround 10000 threads or more.

The test program work well under linux.

--
Thomas

Attachment: test.c
Description: Text document

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]