This is the mail archive of the
mailing list for the Cygwin project.
Re: 1.5.25-15: pthread_join deadlocks
Ryan Johnson wrote:
> Out of curiosity, how much did removing the racy optimization hurt
> performance? The patch just yanked it completely iirc. An alternative
> might be to have the main thread check for single-thread environment
> only at acquire time, and then release only if it acquired (the latter
> is probably a good idea regardles...).
The problem is, IIRC there is no such thing as a single-thread
environment for cygwin programs: every cygwin program has a secondary
thread that handles translating certain windows events into unixy
signals, or something like that. I think.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple