On Sep 23 11:31, Ken Brown wrote:
> Patch attached.  I'm also attaching a test case, that behaves the same on
> Cygwin as on Linux.

Interesting case, but thinking about the scenario, it seems logical to
do it this way.

> @@ -1043,6 +1043,8 @@ writer_shmem:
>    set_pipe_non_blocking (get_handle (), flags & O_NONBLOCK);
>    nwriters_lock ();
>    inc_nwriters ();
> +  if (!writer_opened () )
> +    set_writer_opened ();

My personal preference would be to skip the writer_opened() check
and just call set_writer_opened(), but that's just me.  If you like
it better that way, just push.


Thanks,
Corinna

Reply via email to