Back to index

python3.2  3.2.2
Namespaces | Classes | Functions | Variables
multiprocessing.dummy Namespace Reference

Namespaces

namespace  connection

Classes

class  DummyProcess
class  Condition
class  Namespace
class  Value

Functions

def active_children
def freeze_support
def Array
def Manager
def shutdown
def Pool

Variables

list __all__
 Process = DummyProcess
 current_process = threading.current_thread
 dict = dict
 list = list
 JoinableQueue = Queue

Function Documentation

Definition at line 102 of file __init__.py.

00102 
00103 def active_children():
00104     children = current_process()._children
00105     for p in list(children):
00106         if not p.is_alive():
00107             children.pop(p, None)
00108     return list(children)

Here is the caller graph for this function:

def multiprocessing.dummy.Array (   typecode,
  sequence,
  lock = True 
)

Definition at line 131 of file __init__.py.

00131 
00132 def Array(typecode, sequence, lock=True):
00133     return array.array(typecode, sequence)

Definition at line 109 of file __init__.py.

00109 
00110 def freeze_support():
00111     pass
00112 
00113 #
00114 #
00115 #

Definition at line 146 of file __init__.py.

00146 
00147 def Manager():
00148     return sys.modules[__name__]

def multiprocessing.dummy.Pool (   processes = None,
  initializer = None,
  initargs = () 
)

Definition at line 152 of file __init__.py.

00152 
00153 def Pool(processes=None, initializer=None, initargs=()):
00154     from multiprocessing.pool import ThreadPool
00155     return ThreadPool(processes, initializer, initargs)

Here is the caller graph for this function:

Definition at line 149 of file __init__.py.

00149 
00150 def shutdown():
00151     pass


Variable Documentation

Initial value:
00001 [
00002     'Process', 'current_process', 'active_children', 'freeze_support',
00003     'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Condition',
00004     'Event', 'Queue', 'Manager', 'Pipe', 'Pool', 'JoinableQueue'
00005     ]

Definition at line 35 of file __init__.py.

Definition at line 99 of file __init__.py.

Definition at line 128 of file __init__.py.

Definition at line 156 of file __init__.py.

Definition at line 129 of file __init__.py.

Definition at line 98 of file __init__.py.