Back to index

python3.2  3.2.2
Classes | Functions | Variables
multiprocessing.process Namespace Reference

Classes

class  Process
class  AuthenticationString
class  _MainProcess

Functions

def current_process
def active_children
def _cleanup

Variables

list __all__ = ['Process', 'current_process', 'active_children']
tuple ORIGINAL_DIR = os.path.abspath(os.getcwd())
tuple _current_process = _MainProcess()
dictionary _exitcode_to_name = {}
tuple _dangling = WeakSet()

Function Documentation

Definition at line 77 of file process.py.

00077 
00078 def _cleanup():
00079     # check for processes which have finished
00080     for p in list(_current_process._children):
00081         if p._popen.poll() is not None:
00082             _current_process._children.discard(p)
00083 
00084 #
00085 # The `Process` class
00086 #

Here is the caller graph for this function:

Return list of process objects corresponding to live child processes

Definition at line 66 of file process.py.

00066 
00067 def active_children():
00068     '''
00069     Return list of process objects corresponding to live child processes
00070     '''
00071     _cleanup()
00072     return list(_current_process._children)
00073 
00074 #
00075 #
00076 #

Here is the call graph for this function:

Return process object representing the current process

Definition at line 60 of file process.py.

00060 
00061 def current_process():
00062     '''
00063     Return process object representing the current process
00064     '''
00065     return _current_process


Variable Documentation

Definition at line 35 of file process.py.

Definition at line 321 of file process.py.

Definition at line 335 of file process.py.

Definition at line 328 of file process.py.

Definition at line 52 of file process.py.