Fix race in cygthread when simplestub is used

Arto Huusko
Fri Jul 29 10:44:00 GMT 2005

There is a race condition between cygthread::cygthread and
cygthread::simplestub. If cygthread::simplestub is used, it is possible
that "ev" field is never initialized, which leads to hang when
cygthread::operator HANDLE() is called.

2005-07-29  Arto Huusko  <>

	* (cygthread::simplestub): fix race.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygthread.patch
Type: text/x-patch
Size: 414 bytes
Desc: not available
URL: <>

More information about the Cygwin-patches mailing list