From: Navkirat Singh on 4 Aug 2010 05:20 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 4 Aug 2010 05:44 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"
|
Pages: 1 Prev: error: (113, 'Software caused connection abort')0 Next: lpr via subprocess in 2.4 |