Python3
Server process
A manager object returned by Manager() controls a server process which holds Python objects and allows other processes to manipulate them using proxies.A manager returned by Manager() will support types list, dict, Namespace, Lock, RLock, Semaphore, BoundedSemaphore,Condition, Event, Barrier, Queue, Value and Array. For example,will printServer process managers are more flexible than using shared memory objects because they can be made to support arbitrary object types. Also, a single manager can be shared by processes on different computers over a network. They are, however, slower than using shared memory.
ref: https://docs.python.org/3.4/library/multiprocessing.html
沒有留言:
張貼留言