Package pulp :: Package server :: Package tasking :: Package queue :: Module thread :: Class TaskThread
[hide private]
[frames] | no frames]

Class TaskThread

source code

        object --+            
                 |            
threading._Verbose --+        
                     |        
      threading.Thread --+    
                         |    
       InterruptableThread --+
                             |
                            TaskThread

Derived task thread class that allows for task-specific interruptions.

Instance Methods [hide private]
 
timeout(self)
Raise a TimeoutException in the thread.
source code
 
cancel(self)
Raise a CancelException in the thread.
source code

Inherited from threading.Thread: __repr__, getName, isAlive, isDaemon, join, run, 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__

    Inherited from InterruptableThread
 
__init__(self, *args, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_tid(self)
Determine this thread's id.
source code
 
exception_event(self)
Flag that an exception has been delivered to the thread and handled.
source code
 
raise_exception(self, exc_type)
Raise and exception in this thread.
source code
Properties [hide private]

Inherited from object: __class__