]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Retire "Active reparenting"
[stockfish] / src / thread.h
index e03578eef8db488c34e23fde3a95157fbd8102f1..3eb8fc9cfe4d8f001a5ae8a4d4685a39cc6539f5 100644 (file)
@@ -119,7 +119,7 @@ public:
   bool use_sleeping_threads() const { return useSleepingThreads; }
   int min_split_depth() const { return minimumSplitDepth; }
   int size() const { return (int)threads.size(); }
-  Thread* main_thread() const { return threads[0]; }
+  Thread* main_thread() { return threads[0]; }
 
   void wake_up() const;
   void sleep() const;
@@ -146,6 +146,5 @@ private:
 };
 
 extern ThreadsManager Threads;
-extern THREAD_LOCAL Thread* this_thread;
 
 #endif // !defined(THREAD_H_INCLUDED)