Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道我可以通过在 negamax 和静息函数中调用移动生成器之前检查时间限制来实现这一点。但我想知道是否有一种方法可以在单独的线程上运行时间限制检查,并在 C++ 中超过时间限制时中断循环的执行。