Re: system read blocks.
Re: system read blocks.
- Subject: Re: system read blocks.
- From: Quinn <email@hidden>
- Date: Tue, 5 Aug 2003 19:53:49 +0100
At 10:57 +0530 5/8/03, Kaza Sudheer wrote:
I had created Named Pipes(FIFO's) "Xid" in process A and that is shared to B
thr STDIN( 0 ).
Process A and B communicates thr named pipes"Xid"
Process "A " writes on "Xid" and process "B" reads from "Xid".
My probelm is Lets say if Process "A" is terminated, still Process B waits
on named pipe"Xid".
It blocks on read system call. How to over come this probelm.
This list is for kernel-level development, such as device drivers,
file system plug-ins, NKEs, and so on. Your question is about user
space programming, that is, using the standard UNIX APIs. The folks
on this list aren't really your best for answering your questions.
You may be better off on the darwin-development mailing list.
<
http://www.lists.apple.com/mailman/listinfo/darwin-development>
Beyond that, I highly recommend the book "Advanced Programming in the
UNIX Enivronment", by Stevens,, which covers these sorts of topics in
great detail.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.