X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.h;h=79c6e43fbfef370367f37ca5bbd75ee53c2f39f2;hp=ed427b10c1edbf0a384c6e558f4525318683154c;hb=5d1568632ca42b400dff73f5e74ae613e73ed889;hpb=8fec8834715a440ac18e24e130888c2c60bab352 diff --git a/src/thread.h b/src/thread.h index ed427b10..79c6e43f 100644 --- a/src/thread.h +++ b/src/thread.h @@ -42,8 +42,8 @@ class Thread { - Mutex mutex; - ConditionVariable cv; + std::mutex mutex; + std::condition_variable cv; size_t idx; bool exit = false, searching = true; // Set before starting std::thread NativeThread stdThread;