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
Родитель 7662d973da
Коммит 28c79f495c
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

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