idea: create a condition variable / event and pass it to the labeler which signals this variable once the restart button is pressed. the manager additionally waits for these events in the loop and once ::WaitForMultipleObject returns for one of these events checks if the process is already running and starts it again if not
idea: create a condition variable / event and pass it to the labeler which signals this variable once the restart button is pressed. the manager additionally waits for these events in the loop and once
::WaitForMultipleObject
returns for one of these events checks if the process is already running and starts it again if nothttps://en.cppreference.com/w/cpp/thread/condition_variable