This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: 1.3.13?
On Mon, Aug 05, 2002 at 11:41:28AM -0400, Chris Faylor wrote:
> The below should reduce the window of the race but not eliminate it.
> Does it make any difference to the observed behavior?
It helps. The behaviour disappered for me. Only...
> - SuspendThread (info->h);
> + SuspendThread (GetCurrentThreadId ());
^^^^^^^^^^^^^^^^^^^^^
...that should be GetCurrentThread ()
Question: Why is SetEvent() called at that point at all? Since
__name is set to NULL, detach doesn't call WaitForSingleObject()
anyway. What am I missing now?
Corinna