Back to index

enigmail  1.4.3
Public Member Functions | Public Attributes | Static Public Attributes
pymake.process.Job Class Reference
Inheritance diagram for pymake.process.Job:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def notify
def get_callback

Public Attributes

 exitcode

Static Public Attributes

 done = False

Detailed Description

A single job to be executed on the process pool.

Definition at line 122 of file process.py.


Constructor & Destructor Documentation

Definition at line 128 of file process.py.

00128 
00129     def __init__(self):
00130         self.exitcode = -127


Member Function Documentation

def pymake.process.Job.get_callback (   self,
  condition 
)

Definition at line 138 of file process.py.

00138 
00139     def get_callback(self, condition):
00140         return lambda result: self.notify(condition, result)

Here is the call graph for this function:

def pymake.process.Job.notify (   self,
  condition,
  result 
)

Definition at line 131 of file process.py.

00131 
00132     def notify(self, condition, result):
00133         condition.acquire()
00134         self.done = True
00135         self.exitcode = result
00136         condition.notify()
00137         condition.release()

Here is the caller graph for this function:


Member Data Documentation

Definition at line 126 of file process.py.

Definition at line 129 of file process.py.


The documentation for this class was generated from the following file: