Fix race in cygthread when simplestub is used

Arto Huusko arto.huusko@wmdata.fi
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  <arto.huusko@wmdata.fi>

	* cygthread.cc (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: <http://cygwin.com/pipermail/cygwin-patches/attachments/20050729/f959969a/attachment.bin>


More information about the Cygwin-patches mailing list