Gateau User Manual
Atmospheric simulation of astronomical signals
gateau.threadmgr.Manager Class Reference

This class generates a threadmanager object. More...

Inheritance diagram for gateau.threadmgr.Manager:

Public Member Functions

def __init__ (self, callback=None)
 
def new_thread (self, target, args)
 
def on_thread_finished (self)
 

Public Attributes

 callback
 

Detailed Description

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.


The documentation for this class was generated from the following file: