[xpcom] Timer cleanup, assertions and comments.

This commit is contained in:
Moonchild 2022-03-08 22:32:28 +00:00 committed by roytam1
commit bd80099e2c
4 changed files with 24 additions and 7 deletions

View file

@ -69,6 +69,10 @@ private:
already_AddRefed<nsTimerImpl> PostTimerEvent(already_AddRefed<nsTimerImpl> aTimerRef);
nsCOMPtr<nsIThread> mThread;
// Lock ordering requirements:
// (optional) ThreadWrapper::sMutex ->
// (optional) nsTimerImpl::mMutex ->
// TimerThread::mMonitor
Monitor mMonitor;
bool mShutdown;