From: Navkirat Singh on
Hi,

I was wondering what are the differences between queues and pipes implemented using multiprocessing python module. Am I correct if I say, in pipes, if another process writes to one receiving end concurrently, then an error will be raised and in queues the later processes data will just queued up?

Thanks
Nav
From: James Mills on
On Wed, Aug 4, 2010 at 7:20 PM, Navkirat Singh <navkirats(a)gmail.com> wrote:
> I was wondering what are the differences between queues and pipes implemented using multiprocessing python module. Am I correct if I say, in pipes, if another process writes to one receiving end concurrently, then an error will be raised and in queues the later processes data will just queued up?

basically a Queue is a syncronization primitive used to
share and pass data to and from parent/child processes.

A pipe is as the name suggests, a socket pair connected
end-to-end allowing for full-duplex communications.

cheers
James

--
-- James Mills
--
-- "Problems are solved by method"