[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

@ -166,7 +166,10 @@ public:
int32_t mGeneration;
uint32_t mDelay;
// Updated only after this timer has been removed from the timer thread.
// Never updated while in the TimerThread's timer list. Only updated
// before adding to that list or during nsTimerImpl::Fire(), when it has
// been removed from the TimerThread's list. TimerThread can safely access
// mTimeout of any timer in the list.
TimeStamp mTimeout;
#ifdef MOZ_TASK_TRACER