Package SCons :: Module Job :: Class Worker
[hide private]
[frames] | no frames]

Class Worker

source code

        object --+        
                 |        
threading._Verbose --+    
                     |    
      threading.Thread --+
                         |
                        Worker

A worker thread waits on a task to be posted to its request queue,
dequeues the task, executes it, and posts a tuple including the task
and a boolean indicating whether the task executed successfully. 



Instance Methods [hide private]
 
__init__(self, requestQueue, resultsQueue, interrupted) source code
 
run(self) source code

Inherited from threading.Thread: __repr__, getName, isAlive, isDaemon, join, setDaemon, setName, start

Inherited from threading.Thread (private): _set_daemon

Inherited from threading._Verbose (private): _note

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, requestQueue, resultsQueue, interrupted)
(Constructor)

source code 
Overrides: threading.Thread.__init__

run(self)

source code 
Overrides: threading.Thread.run