Re: [Tutor] Using Queue

2008-04-23 Thread Kent Johnson
On Wed, Apr 23, 2008 at 1:36 PM, Tim Golden <[EMAIL PROTECTED]> wrote: > Yes, that's a typical setup for Queue: the main thread creates a > Queue and passes it to each thread it creates. Say you had an example > where you had a pool of worker threads, each one performing a > calculation. A common

Re: [Tutor] Using Queue

2008-04-23 Thread Kent Johnson
On Wed, Apr 23, 2008 at 1:17 PM, bob gailer <[EMAIL PROTECTED]> wrote: > "The Queue module implements a multi-producer, multi-consumer FIFO queue. > > I understand producer, comsumer, FIFO. > > I don't understand multi- More than one producer and/or consumer > > > "It is especially useful in th

Re: [Tutor] Using Queue

2008-04-23 Thread Tim Golden
bob gailer wrote: Kent Johnson wrote: On Wed, Apr 23, 2008 at 9:46 AM, bob gailer <[EMAIL PROTECTED] > wrote: Evey time someone recommends Queue I think "oh boy this will really help me". Then I go to the Library Reference, read the Queue docs and think "o

Re: [Tutor] Using Queue

2008-04-23 Thread Marc Tompkins
I for one would like to thank Bob for asking the question! So far I hadn't had the guts. -- www.fsrtechnologies.com ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Using Queue

2008-04-23 Thread bob gailer
Kent Johnson wrote: On Wed, Apr 23, 2008 at 9:46 AM, bob gailer <[EMAIL PROTECTED] > wrote: Evey time someone recommends Queue I think "oh boy this will really help me". Then I go to the Library Reference, read the Queue docs and think "oh boy who can help

Re: [Tutor] Using Queue

2008-04-23 Thread Kent Johnson
On Wed, Apr 23, 2008 at 9:46 AM, bob gailer <[EMAIL PROTECTED]> wrote: > Evey time someone recommends Queue I think "oh boy this will really help > me". Then I go to the Library Reference, read the Queue docs and think "oh > boy who can help me understand this". Even the sample code is confusing.