dca_interface
6.3.4
|
Header file for the update thread. More...
Go to the source code of this file.
Functions | |
void | createPerformUpdateThread (const dca::UpdateModule &aUpdateModule, volatile bool *errorSignal) |
Starts up the update thread and supply the given UpdateModule. More... | |
void | shutdownPerformUpdateThread () |
Shuts down the previously started update thread. More... | |
Header file for the update thread.
Definition in file customdb_samples/customdbsample_extended/perform_update_thread.h.
void createPerformUpdateThread | ( | const dca::UpdateModule & | aUpdateModule, |
volatile bool * | errorSignal | ||
) |
Starts up the update thread and supply the given UpdateModule.
[in] | aUpdateModule | An initialized UpdateModule |
[out] | errorSignal | Error signal that is set to true, if an error occured in the call to performUpdate() |
Starts up an update thread that calls the aUpdateModule::performUpdate() method in a loop.
The called function will check engine and content updates automatically and install them in the provided dca/init directory.
It can be stopped by a call to shutdownPerformUpdateThread
Definition at line 63 of file customdb_samples/customdbsample_extended/linux/perform_update_thread.cpp.
void shutdownPerformUpdateThread | ( | ) |
Shuts down the previously started update 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 the thread.
Definition at line 71 of file customdb_samples/customdbsample_extended/linux/perform_update_thread.cpp.