1 #ifndef testthread_HEADER_GUARD
2 #define testthread_HEADER_GUARD
40 enum class TestSignal {
72 void triggerCallback(
int i);
76 void setCallback(PyObject* pobj);
Definition: testthread.h:54
void stopCall()
API method: stops the thread.
Definition: testthread.cpp:150
void postRun()
Called after the main execution loop exits, but before joining the thread.
Definition: testthread.cpp:56
std::deque< TestSignalContext > signal_fifo
Redefinition of signal fifo (Thread::signal_fifo becomes hidden)
Definition: testthread.h:61
void preRun()
Called before entering the main execution loop, but after creating the thread.
Definition: testthread.cpp:53
void run()
Main execution loop is defined here.
Definition: testthread.cpp:110
A class for multithreading with a signaling system.
Definition: thread.h:87
std::string name
Name of the thread.
Definition: thread.h:116
Definition: testthread.h:48
Base class for multithreading.
@ none
undefined (initial value)
Definition: usbthread.h:143