snapshot 20050114 race (on list)

Pierre A. Humblet
Fri Jan 14 18:33:00 GMT 2005


the race can come from the self->alert_parent (0);
in :exit, causing bash to think that the child
has exited when it's still running.
There may be a deeper issue, as the timing of Windows
closing the pipe and "closing" the process is not
under Cygwin's control.

There may also be a race (unrelated) between
setting the state to PID_ZOMBIE in the parent
and PID_EXITED in the child. This will affect  if (!((terminated = (child->process_state == PID_ZOMBIE)) ||

I think there is no real need to distinguish between


More information about the Cygwin-developers mailing list