Move sleepLock and sleepCond under Thread

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-04-19 09:56:59 +02:00
parent 2e6839c9a0
commit fdc9f8cbd7
2 changed files with 14 additions and 13 deletions

View File

@@ -68,6 +68,8 @@ enum ThreadState
};
struct Thread {
Lock sleepLock;
WaitCondition sleepCond;
volatile ThreadState state;
SplitPoint* volatile splitPoint;
volatile int activeSplitPoints;