| Store | Cart

Re: [Tutor] When to use multiprocessing Managers?

From: Steven DAprano <ste...@pearwood.info>
Wed, 26 Feb 2014 10:05:00 +1100
On Tue, Feb 25, 2014 at 02:55:31PM -0800, Danny Yoo wrote:
> I believe James is referring to:> >     http://docs.python.org/2/library/queue.html> > but I am not sure yet.  Let's hear back from him to clarify what he's> looking at.


I think both the subject line and the description is fairly clear he's 
talking about Manager from multiprocessing :-)

py> from multiprocessing import Manager
py> Manager
<function Manager at 0xb7c6ac6c>
py> help(Manager)

Help on function Manager in module multiprocessing:

Manager()
    Returns a manager associated with a running server process

    The managers methods such as `Lock()`, `Condition()` and `Queue()`
    can be used to create shared objects.

 


-- 
Steven
_______________________________________________
Tutor maillist  -  Tut...@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Recent Messages in this Thread
James Chapman Feb 25, 2014 10:52 am
Steven DAprano Feb 25, 2014 10:45 pm
Danny Yoo Feb 25, 2014 10:55 pm
Steven DAprano Feb 25, 2014 11:05 pm
David Palao Feb 26, 2014 02:19 pm
James Chapman Feb 28, 2014 11:31 am
eryksun Mar 01, 2014 04:48 pm
James Chapman Mar 03, 2014 11:45 am
eryksun Mar 03, 2014 03:40 pm
Messages in this thread