|
Qudi
|
A Windows-specific daemon thread that listens for a special event that signals an interrupt and, optionally, terminates the program immediately when the parent process no longer exists. More...


Public Member Functions | |
| def | __init__ (self, quitfunction=None, interrupt_handle=None, parent_handle=None) |
| Create the poller. More... | |
| def | run (self) |
| Run the poll loop. More... | |
Public Attributes | |
| daemon | |
| interrupt_handle | |
| parent_handle | |
A Windows-specific daemon thread that listens for a special event that signals an interrupt and, optionally, terminates the program immediately when the parent process no longer exists.
| def core.parentpoller.ParentPollerWindows.__init__ | ( | self, | |
quitfunction = None, |
|||
interrupt_handle = None, |
|||
parent_handle = None |
|||
| ) |
Create the poller.
At least one of the optional parameters must be provided.
interrupt_handle HANDLE (int), optional If provided, the program will generate a Ctrl+C event when this handle is signaled.
parent_handle HANDLE (int), optional If provided, the program will terminate immediately when this handle is signaled.
| def core.parentpoller.ParentPollerWindows.run | ( | self | ) |
Run the poll loop.
This method never returns.
1.8.13