Cygwin issues: modify-window and hangs
Craig Barratt
craig at atheros.com
Mon Jan 27 05:33:00 EST 2003
> Has *anybody* been able to figure out a fix for this that really works?
Why does the receiving child wait in a loop to get killed, rather than
just exit()? I presume cygwin has some problem or race condition in the
wait loop, kill and wait_process().
The pipe to the parent will read 0 bytes (EOF) on the parent side after
the child exits.
Although I haven't tried it, I would guess this should be the reliable
solution on all platforms. But there must be some good reason the wait
loop, kill and wait_process() contortions appeared in the code (maybe
some race condition with the remote side?)...
Craig
More information about the rsync
mailing list