X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.h;h=80363fa7f187aac9c65cec13314a879b2c4807a9;hp=c762f130ebb2e96ed06824ef87d3c0a652b5e110;hb=3d937e1e901c59c04cd5d602c05f72892222ded8;hpb=04ff9c2548eb4d8b8a59db23f7212c7a8cdd25aa diff --git a/src/thread.h b/src/thread.h index c762f130..80363fa7 100644 --- a/src/thread.h +++ b/src/thread.h @@ -80,17 +80,12 @@ struct Thread { int maxPly; Lock sleepLock; WaitCondition sleepCond; + ThreadHandle handle; SplitPoint* volatile splitPoint; volatile int activeSplitPoints; volatile bool is_searching; volatile bool do_sleep; volatile bool do_terminate; - -#if defined(_MSC_VER) - HANDLE handle; -#else - pthread_t handle; -#endif };