Stop all c++ threads
I have a thread that is calling std::getline(std::cin,input) and another thread that wakes up every x mins and checks a status. If the status is True my whole c++ application needs to terminate/shutdown. Problem is getline() is a blocking call and when I set loop_status to true it still wont stop since getline() is blocking.… Read More Stop all c++ threads