[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] libvchan, why read random number of characters
Does anyone know of the reason why in libvchan/node.c the writer() function reads in a random (bounded by BUFSIZE) number of bytes from STDIN? Similar question for why a random a number of bytes (bounded first by BUFSIZE and then by the actual number of bytes avail) are read in from the ring buffer before writing them to STDOUT. I didn't see anything in the commit history and couldn't find any comments in the source code explaining why or if this is needed.
-JbR _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx https://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |