Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2001 22:45:21 -0400 (EDT)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        Manas Bhatt <bhatt_manas@yahoo.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: does data overflow in pipes
Message-ID:  <Pine.SOL.4.21.0106272244150.23062-100000@opal>
In-Reply-To: <20010628024057.71824.qmail@web10705.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

I guess the kernel will block the process trying to write more data than
that can be accommodated. Or if you are using non-blocking I/O, it will
return an error.

-Zhihui

On Wed, 27 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.
> thanks
> --manas
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.21.0106272244150.23062-100000>