SharkCagey / SharkCage

1 stars 3 forks source link

Create buttons in sidebar to reopen already closed programs #26

Closed SailReal closed 6 years ago

DonatJR commented 6 years ago

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

https://en.cppreference.com/w/cpp/thread/condition_variable