Cut and paste problem with cygwin 1.3.1

Christopher Faylor
Fri Apr 27 08:27:00 GMT 2001

On Fri, Apr 27, 2001 at 03:08:50PM +0400, egor duda wrote:
>Thursday, 26 April, 2001 Christopher Faylor wrote:
>CF> If you've reproduced it and this patch fixes it, then please check
>CF> this in.
>CF> I wonder why I can't duplicate it...
>it's race condition, so i'm not surprised. . if reader is fast enough
>to not allow writer to fill the pipe, everything's ok. but imagine
>that reader is very slow and writer is very fast. Writer fills the pipe
>up, and blocks in WriteFile (), owning input_mutex, hence the freeze.

Makes sense.  My dual processor machine is sometimes a good way to detect
races and sometimes a good way to bypass them...


More information about the Cygwin-patches mailing list