Consistent use of anonymous namespace

Also change `bindThisThread` to match the current code style for function naming.

closes https://github.com/official-stockfish/Stockfish/pull/5118

No functional change
This commit is contained in:
Disservin
2024-03-17 10:33:03 +01:00
parent ed60460004
commit 134e6d7bb4
6 changed files with 45 additions and 36 deletions

View File

@@ -95,7 +95,7 @@ void TranspositionTable::clear(size_t threadCount) {
threads.emplace_back([this, idx, threadCount]() {
// Thread binding gives faster search on systems with a first-touch policy
if (threadCount > 8)
WinProcGroup::bindThisThread(idx);
WinProcGroup::bind_this_thread(idx);
// Each thread will zero its part of the hash table
const size_t stride = size_t(clusterCount / threadCount), start = size_t(stride * idx),