Trees | Indices | Help |
|
---|
|
object --+ | threading._Verbose --+ | threading.Thread --+ | TerminatableThread
A simple thread able to terminate itself on behalf of the user.
Terminate a thread as follows:
t.stop_and_join()
Derived classes call _should_terminate() to determine whether they should abort gracefully
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|||
Subclass Interface | |||
---|---|---|---|
|
|||
|
|||
|
|||
Interface | |||
|
|||
|
|
|||
_terminate | |||
Inherited from Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
Called once the thread terminated. Its called in the main thread and may perform cleanup operations :note: in the current implementation, this method will only be called if the thread was stopped by ``stop_and_join``. If you have very important cleanup to do, you should do it before you exit your run method |
|
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Apr 19 18:00:19 2011 | http://epydoc.sourceforge.net |