Small renaming in Thread struct

Should be a bit more clear the meaning of the
single variables.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2012-02-18 10:57:00 +01:00
parent d8349f9d0f
commit 6088ac2108
3 changed files with 18 additions and 18 deletions

View File

@@ -30,7 +30,7 @@
#include "search.h"
const int MAX_THREADS = 32;
const int MAX_ACTIVE_SPLIT_POINTS = 8;
const int MAX_SPLITPOINTS_PER_THREAD = 8;
struct SplitPoint {
@@ -73,7 +73,7 @@ struct Thread {
void timer_loop();
void wait_for_stop_or_ponderhit();
SplitPoint splitPoints[MAX_ACTIVE_SPLIT_POINTS];
SplitPoint splitPoints[MAX_SPLITPOINTS_PER_THREAD];
MaterialInfoTable materialTable;
PawnInfoTable pawnTable;
int threadID;
@@ -81,8 +81,8 @@ struct Thread {
Lock sleepLock;
WaitCondition sleepCond;
ThreadHandle handle;
SplitPoint* volatile splitPoint;
volatile int activeSplitPoints;
SplitPoint* volatile curSplitPoint;
volatile int splitPointsCnt;
volatile bool is_searching;
volatile bool do_sleep;
volatile bool do_exit;