projects
/
stockfish
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't allocate MAX_THREADS hash tables if not necessary
[stockfish]
/
src
/
thread.h
diff --git
a/src/thread.h
b/src/thread.h
index e576a5c4e379017fc9283fbed4e01c7e629c3fef..e5a198c88e764902d74ff6f509c4ef4075cefbb5 100644
(file)
--- a/
src/thread.h
+++ b/
src/thread.h
@@
-105,6
+105,7
@@
public:
Thread& operator[](int threadID) { return threads[threadID]; }
void init_threads();
void exit_threads();
Thread& operator[](int threadID) { return threads[threadID]; }
void init_threads();
void exit_threads();
+ void init_hash_tables();
int min_split_depth() const { return minimumSplitDepth; }
int active_threads() const { return activeThreads; }
int min_split_depth() const { return minimumSplitDepth; }
int active_threads() const { return activeThreads; }