On Feb 26, 8:31 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Tue, 26 Feb 2008 15:49:00 -0200, <[EMAIL PROTECTED]> escribió:
>
> > I'm not quite sure a semaphore is exactly the synchronization object
> > I'm looking for, but I'm a little new to concurrency myself.
>
> The easiest way to implement a producer-consumer model in Python, is using  
> a Queue.Queue object. It already implements the necesary synchronization  
> mechanisms. The producer(s) put items in the Queue; the consumer(s) get  
> items from it.
>
> --
> Gabriel Genellina

Doesn't Queue.Queue operate by side effect?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to