This class generates a threadmanager object. More...
Public Member Functions | |
| def | __init__ (self, callback=None) |
| def | new_thread (self, target, args) |
| def | on_thread_finished (self) |
Public Attributes | |
| callback | |
This class generates a threadmanager object.
The manager can start daemon threads and signal when the thread is finished. This class is only used to spawn calls to the C++ backend inside a daemon thread so that Python keeps control over the process. This allows users to Ctrl-c a running calculation in C++ from Python.