On Thu, 26 Aug 2010 14:16:28 +0200 Magnus Hjorth <[email protected]> wrote: > Is the buffer really that small? I made a simple test program (below) > to check this out, and it seems that writes up to 64K work without > blocking on my Ubuntu system. Of course, it is still ugly (and > non-portable) to depend on this.
I am extremely surprised that it is as large as 65536 in your case. POSIX requires PIPE_BUF to be at least 512, and on most unix-like systems it is 4096. It is pretty astonishing that your example does not block. Chris _______________________________________________ gtk-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtk-list
