Threads.timer->run = true;
Threads.timer->notify_one(); // Wake up the recurring timer
id_loop(RootPos); // Let's start searching !
Threads.timer->run = false; // Stop the timer
Threads.timer->run = true;
Threads.timer->notify_one(); // Wake up the recurring timer
id_loop(RootPos); // Let's start searching !
Threads.timer->run = false; // Stop the timer
{
// If we are not searching, wait for a condition to be signaled instead of
// wasting CPU time polling for work.
{
// If we are not searching, wait for a condition to be signaled instead of
// wasting CPU time polling for work.
// Wake up the master thread so to allow it to return from the idle
// loop in case we are the last slave of the split point.
// Wake up the master thread so to allow it to return from the idle
// loop in case we are the last slave of the split point.