Re: Question about named pipe in linux
- From: "Bin Chen" <binary.chen@xxxxxxxxx>
- Date: 15 Mar 2007 23:49:16 -0700
On Mar 16, 12:16 pm, "ying...@xxxxxxxxx" <ying...@xxxxxxxxx> wrote:
Hi,
I have a server (reader), client (writer) application in linux. I use
'named pipe' as the inter-process communication between the server and
client. My question is if the writer is faster than the reader, what
will happens? How much will the data be buffered if the reader is
slower than the writer?
Thank you for any help.
Depends your setting on the fd. If it is block type(by default), the
writer will be blocked until the buffer has some space for the writer.
If it unblock, it will return and it is your responsibility to retry
write.
.
- Follow-Ups:
- References:
- Question about named pipe in linux
- From: yinglcs@xxxxxxxxx
- Question about named pipe in linux
- Prev by Date: Re: Question about named pipe in linux
- Next by Date: Re: Question about named pipe in linux
- Previous by thread: Re: Question about named pipe in linux
- Next by thread: Re: Question about named pipe in linux
- Index(es):
Relevant Pages
|