threads

New in version 1.1.0.

thread

class smisk.util.threads.Monitor(callback, setup_callback=None, frequency=60.0)

Periodically run a callback in its own thread.

restart()
Stop the callback’s perpetual timer thread and restart it.
start()
Start our callback in its own perpetual timer thread.
stop()
Stop our callback’s perpetual timer thread.
class smisk.util.threads.PerpetualTimer(frequency, callback, setup_callback=None, *args, **kwargs)

A subclass of threading._Timer whose run() method repeats.

run()