kernel: Protect UserTimers with sUserTimerLock

This commit is contained in:
Pawel Dziepak
2013-11-05 05:36:05 +01:00
parent 4824f7630b
commit f4b088a992
4 changed files with 136 additions and 86 deletions
+3
View File
@@ -54,6 +54,8 @@ protected:
inline void UpdatePeriodicStartTime();
inline void CheckPeriodicOverrun(bigtime_t now);
inline void CancelTimer();
protected:
int32 fID;
timer fTimer;
@@ -62,6 +64,7 @@ protected:
bigtime_t fInterval;
uint32 fOverrunCount;
bool fScheduled; // fTimer scheduled
int32 fSkip;
};