[XPCOM] xpcom/threads misc cleanup

This commit is contained in:
Moonchild 2022-04-08 21:54:05 +02:00 committed by roytam1
commit 7de4e86727
3 changed files with 24 additions and 11 deletions

View file

@ -152,9 +152,10 @@ private:
nsCOMPtr<nsIThread> mThread;
/**
* Protected by mMutex. Created when mThread has no pending events and fired
* Created when mThread has no pending events and fired
* at mOwningThread. Any thread that dispatches to mThread will take ownership
* of the timer and fire a separate cancel event to the owning thread.
* Only accessed from the owning thread.
*/
nsCOMPtr<nsITimer> mIdleTimer;