summaryrefslogtreecommitdiff
path: root/xpcom/threads/TimerThread.h
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/threads/TimerThread.h')
-rw-r--r--xpcom/threads/TimerThread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xpcom/threads/TimerThread.h b/xpcom/threads/TimerThread.h
index 4d4b7be77d..c82f3ec7f5 100644
--- a/xpcom/threads/TimerThread.h
+++ b/xpcom/threads/TimerThread.h
@@ -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;