tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Regarding read behaviour of a FIFO



In article 
<CAM-CpU1noPpLNnKU6qdE7ydLC-uq2Fv8jxynRjC4uvNOw9GjXg%mail.gmail.com@localhost>,
Bharat Joshi  <bharat.josh%gmail.com@localhost> wrote:
>Hi,
>
>       It has been some time and I did not get any response for the
>below question.
>
>       I am not subscribed to the NetBSD tech-kern mailing list but I
>have been checking the mailing list archive to make sure that I have
>not missed any responses.
>
>       I disabled the code I had identified below in fifo_vnops.c and
>I could see that when read is called after receiving an EINTR, it
>returns zero and my parent program shows success.
>
>       Can someone please let me know if this make sense? or should I
>try something else? or should I be asking this in some other mailing
>list?
>
>       One question which I have been asking myself is that why
>someone else have not seen it. The only answer I could come up with
>is, that we are using FIFO which are names pipe (i.e. a file) and they
>are mostly used by two different processes. Parent-child normally uses
>PIPE or socket-pair to communicate and so may be no-one has seen this
>issue yet.
>

Do you mind sending an example program please?

christos



Home | Main Index | Thread Index | Old Index