зеркало из https://github.com/mozilla/gecko-dev.git
Bug 552054 - Add some comments that were requested in review
This commit is contained in:
Родитель
7662d973da
Коммит
28c79f495c
|
@ -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:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче