Created start/stop routines for the signal handler

This commit is contained in:
Nav
2022-01-09 14:25:52 +00:00
parent 4a5ddb1a4b
commit 023b655145
2 changed files with 37 additions and 22 deletions

View File

@@ -246,7 +246,17 @@ namespace Bloom
int initProject();
/**
* Prepares a dedicated thread for the TargetController and kicks it off.
* Prepares a dedicated thread for the SignalHandler and kicks it off with a call to SignalHandler::run().
*/
void startSignalHandler();
/**
* Sends a shutdown request to the SignalHandler and waits on the dedicated thread to exit.
*/
void stopSignalHandler();
/**
* Prepares a dedicated thread for the TargetController and kicks it off with a call to TargetController::run().
*/
void startTargetController();