|
|
|
|
|
|
|
|
/// Thread start function to receive and process messages. |
|
|
/// Thread start function to receive and process messages. |
|
|
void processMessages(); |
|
|
void processMessages(); |
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
/// Thread start function for the watchdog thread. |
|
|
/// Thread start function for the watchdog thread. |
|
|
// |
|
|
// |
|
|
// This thread sleeps until timeoutTime, and then causes the |
|
|
// This thread sleeps until timeoutTime, and then causes the |
|
|
// process to exit. |
|
|
// process to exit. |
|
|
void watchdog(); |
|
|
void watchdog(); |
|
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
/// Command-line arguments. |
|
|
/// Command-line arguments. |
|
|
static std::vector<std::string> cmdLineArgs; |
|
|
static std::vector<std::string> cmdLineArgs; |
|
|
|
|
|
|