Re: blocking IPC
Date: Fri, 30 May 2003 08:15:12 +0300
>>> Leonidas Petrauskas wrote:
LP> what is the best way for blocking on a condition?
LP> Situation: process A spawns child B,
LP> B waits for messages from A.
LP> When A sends B a message, it blocks until
LP> receiving answer from B.
Unnamed pipes. They doesn't pollute any namespace.
LP> Waiting has to be effective also (no busy loops).
- blocking IPC
... what is the best way for blocking on a condition? ... process A spawns child B, ... Waiting has to be effective also (no busy loops). ...
- Re: blocking IPC
... process A spawns child B, ... > Waiting has to be effective also. ... Blocking is no problem at all... ... The various IPC mechanisms that can used here (pipes, ...
- Re: non blocking sockets
... > consider anything that requires waiting for a totally external event ... If these are your opinions about what the standard should ... want to say blocking is or isn't, ... > waiting for a page fault or local memory to become available to be ...
- Re: getting a threads state and CPU utilization
... a thread -- that is, running, suspended, or waiting on a synchronization ... deadlock by waiting on objects that form a loop, ... You couldn't just look for a long blocking wait since it might be ...
- Re: Please help a young, clueless implementor: meaning of O_NONBLOCK
... At least for pipes, sockets it is implemented ... (Of course, some waiting can be ... to support nonblocking, and most implementations doesn't support such. ... blocking and nonblocking mode you have to implement this switching for ...