Bug 552054 - Add some comments that were requested in review

This commit is contained in:
Ben Turner 2010-03-15 13:22:06 -07:00
parent 5b7d69dba5
commit 29ffa388b2

View File

@ -167,7 +167,9 @@ public:
void Suspend();
void Resume();
// This just calls IsCanceledNoLock with an autolock around the call.
PRBool IsCanceled();
PRBool IsClosing();
PRBool IsSuspended();
@ -292,6 +294,8 @@ private:
PRBool QueueSuspendedRunnable(nsIRunnable* aRunnable);
// Determines if the worker should be considered "canceled". See the large
// comment in the implementation for more details.
PRBool IsCanceledNoLock();
private: