Handle wraparound of PRIntervalTime, plus crucial fixes thanks to Ere Maijala <ere@atp.fi> (138791, r=rjesup, sr=waterson).

git-svn-id: svn://10.0.0.236/trunk@119866 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brendan%mozilla.org
2002-04-25 21:07:54 +00:00
parent 951e8e2934
commit 887c1af363
4 changed files with 48 additions and 14 deletions

View File

@@ -75,7 +75,9 @@ public:
nsCOMPtr<nsIEventQueueService> mEventQueueService;
private:
// These two internal functions must be called from within a lock
// These two internal helper methods must be called while mLock is held.
// AddTimerInternal returns the position where the timer was added in the
// list, or -1 if it failed.
PRInt32 AddTimerInternal(nsTimerImpl *aTimer);
PRBool RemoveTimerInternal(nsTimerImpl *aTimer);