| | |
- _Verbose
-
- Thread
-
- _DummyThread
- _MainThread
- _Timer
- _Condition
- _Event
- _RLock
- _Semaphore
-
- _BoundedSemaphore
class Thread(_Verbose) |
| |
|
| |
Methods defined here:
- _Thread__bootstrap = __bootstrap(self)
- _Thread__delete = __delete(self)
- _Thread__stop = __stop(self)
- __init__(self, group=None, target=None, name=None, args=(), kwargs={}, verbose=None)
- __repr__(self)
- _set_daemon(self)
- getName(self)
- isAlive(self)
- isDaemon(self)
- join(self, timeout=None)
- run(self)
- setDaemon(self, daemonic)
- setName(self, name)
- start(self)
Data and non-method functions defined here:
- _Thread__initialized = 0
- __doc__ = None
- __module__ = 'threading'
Methods inherited from _Verbose:
- _note(self, format, *args)
|
class _Timer(Thread) |
| |
Call a function after a specified number of seconds:
t = Timer(30.0, f, args=[], kwargs={})
t.start()
t.cancel() # stop the timer's action if it's still waiting |
| |
- Method resolution order:
- _Timer
- Thread
- _Verbose
Methods defined here:
- __init__(self, interval, function, args=[], kwargs={})
- cancel(self)
- Stop the timer if it hasn't finished yet
- run(self)
Data and non-method functions defined here:
- __doc__ = "Call a function after a specified number of sec...p the timer's action if it's still waiting\n "
- __module__ = 'threading'
Methods inherited from Thread:
- _Thread__bootstrap = __bootstrap(self)
- _Thread__delete = __delete(self)
- _Thread__stop = __stop(self)
- __repr__(self)
- _set_daemon(self)
- getName(self)
- isAlive(self)
- isDaemon(self)
- join(self, timeout=None)
- setDaemon(self, daemonic)
- setName(self, name)
- start(self)
Data and non-method functions inherited from Thread:
- _Thread__initialized = 0
Methods inherited from _Verbose:
- _note(self, format, *args)
|
class _Verbose |
| |
|
| |
Methods defined here:
- __init__(self, verbose=None)
- _note(self, format, *args)
Data and non-method functions defined here:
- __doc__ = None
- __module__ = 'threading'
| |