[PATCH v8] Cygwin: pipe: Switch pipe mode to blocking mode by default
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Oct 28 11:54:36 GMT 2024
On Oct 28 20:23, Takashi Yano wrote:
> Hi Corinna,
>
> On Mon, 28 Oct 2024 10:55:31 +0100
> > So this should actually be:
> >
> > pipe capacity: 65536
> > write: writable 1, 40000 25536
> > write: writable 1, 24576 960
> > write: writable 0, 512 448
> > write: writable 0, 256 192
> > write: writable 0, 128 64
> > write: writable 0, 64 0
> > write: writable 0, -1 / Resource temporarily unavailable
> >
> > just as in the blocking case.
>
> I have just tried commit 686e46ce714803f47d3183c954ceaf51976157cc,
> however the result is the same:
> CYGWIN_NT-10.0-19045 HP-Z230 3.6.0-dev-182-g686e46ce7148.x86_64 2024-10-28 11:17 UTC x86_64 Cygwin
> $ ./a.exe 40000 1
> pipe capacity: 65536
> write: writable 1, 40000 25536
> write: writable 1, 24576 960
> write: writable 0, -1 / Resource temporarily unavailable
>
> What is wrong???
I really don't know. I just rebuilt 686e46ce7148 as well:
CYGWIN_NT-10.0-22631 vmbert11 3.6.0-dev-182-g686e46ce7148.x86_64 2024-10-28 11:51 UTC x86_64 Cygwin
$ ./x 40000 1
pipe capacity: 65536
write: writable 1, 40000 25536
write: writable 1, 24576 960
write: writable 0, 512 448
write: writable 0, 256 192
write: writable 0, 128 64
write: writable 0, 64 0
write: writable 0, -1 / Resource temporarily unavailable
Weird...
Corinna
More information about the Cygwin-patches
mailing list