backing out changes for 129953...

git-svn-id: svn://10.0.0.236/trunk@118729 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pavlov%netscape.com
2002-04-11 05:38:55 +00:00
parent a770b81658
commit 63ff0ed4b4
7 changed files with 28 additions and 203 deletions

View File

@@ -218,17 +218,17 @@ NS_IMETHODIMP TimerThread::Run()
}
#endif
// We are going to let the call to PostTimerEvent here handle the release of the
// We are going to let the call to Fire here handle the release of the
// timer so that we don't end up releasing the timer on the TimerThread
// instead of on the thread it targets.
timer->PostTimerEvent();
timer->Fire();
timer = nsnull;
lock.lock();
if (!mProcessing)
break;
// Update now, as PostTimerEvent plus the locking may have taken a tick or two,
// Update now, as Fire plus the locking may have taken a tick or two,
// and we may goto next below.
now = PR_IntervalNow();
}