std::thread创建了一个线程,在线程里面用std::this_thread::sleep_for(std::chrono::seconds(nSec));睡眠了很长一段时间,现在想提前唤醒线程,关闭线程。有没有什么解决方案实现类似的效果。