dca_interface
6.3.4
|
Header file for the schedule thread. More...
Go to the source code of this file.
Functions | |
void | createScheduleThread (const dca::DcaInstance &aDcaInstance, volatile bool *errorSignal) |
Starts up the schedule thread and supplies the given DcaInstance. More... | |
void | shutdownScheduleThread () |
Shuts down the previously started schedule thread. More... | |
Header file for the schedule thread.
Definition in file customdb_samples/customdbsample_extended/schedule_thread.h.
void createScheduleThread | ( | const dca::DcaInstance & | aDcaInstance, |
volatile bool * | errorSignal | ||
) |
Starts up the schedule thread and supplies the given DcaInstance.
[in] | aDcaInstance | An initialized DcaInstance |
[out] | errorSignal | Error signal that is set to true if an error occured in the call to schedule() |
Start up a schedule thread that calls the aDcaInstance::schedule() method in a loop.
It can be stopped by a call to ShutdownScheduleThread()
Definition at line 58 of file customdb_samples/customdbsample_extended/linux/schedule_thread.cpp.
void shutdownScheduleThread | ( | ) |
Shuts down the previously started schedule thread.
Shutting down will stop the thread safely.
If an update is already in progress the function will return as soon as possible but will not force-terminate any thread.
Definition at line 66 of file customdb_samples/customdbsample_extended/linux/schedule_thread.cpp.