X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.h;h=79c6e43fbfef370367f37ca5bbd75ee53c2f39f2;hp=ed427b10c1edbf0a384c6e558f4525318683154c;hb=d703d2b5e760edf4d34b6664f2d0552ffe424b12;hpb=8726beba59ca10d03cfee5073e4ac51da7cae42a 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;