git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@5 d34b734f-a00e-4b39-a726-e4eeb87269abwx
@@ -92,7 +92,8 @@ int Sleeper::setMillisecondsToSleep(int x) { | |||
if(x < MinimumSleeperTime || | |||
x > MaximumSleeperTime) // If it's not a good time value | |||
throw BadSleeperValue(); // then throw the exception. | |||
MillisecondsToSleep = x; // If it is good - set it. | |||
MillisecondsToSleep = x; // If it is good - set it. | |||
return MillisecondsToSleep; // Return the set value. | |||
} | |||
int Sleeper::getMillisecondsToSleep() { // Safe way to get the value. |
@@ -206,9 +206,9 @@ class Timer { | |||
private: | |||
bool RunningFlag; // True if clock is running. | |||
msclock StartTime; // TimeOfDay at start. | |||
msclock StopTime; // TimeOfDay at stop or check. | |||
bool RunningFlag; // True if clock is running. | |||
msclock getLocalRawClock() const; // Derives unix epoch ms from local clock. | |||