Date: Thu, 28 Jun 2001 12:14:35 +0930 (CST) From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Manas Bhatt <bhatt_manas@yahoo.com> Cc: questions@FreeBSD.ORG Subject: RE: does data overflow in pipes Message-ID: <XFMail.20010628121435.doconnor@gsoft.com.au> In-Reply-To: <20010628024057.71824.qmail@web10705.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 28-Jun-2001 Manas Bhatt wrote: > hi all, > pipes uses only direct blocks to store data. so > depending on the blocksize , a total data of > 10*blocksize can be written in one go but what happens > if a writer process tries to write more 10*blocksize > of data in one go. Does the kernel overwrites the > data in pipe or not ? if yes, why? if not, then how > does it allow the writer to write more 10*blocksize of > data? > if someone can direct me to implementation > (source files), it would be great. This is a questions post I think. If it is blocking IO the writer will block until some data is read from the pipe, if it is non blocking then it will return a short write. --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20010628121435.doconnor>