X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fthread.h;h=80363fa7f187aac9c65cec13314a879b2c4807a9;hb=3d937e1e901c59c04cd5d602c05f72892222ded8;hp=c762f130ebb2e96ed06824ef87d3c0a652b5e110;hpb=2a21543c88f82a64ee48d00d706db102c0c4637d;p=stockfish 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 };