mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 22:32:51 +00:00
Backed out changeset e513640d9995 (bug 1151672) for breaking ics emulator debug tests on a CLOSED TREE
This commit is contained in:
parent
34a4bc1f14
commit
686d7a4712
@ -237,6 +237,10 @@ public:
|
||||
return work;
|
||||
}
|
||||
|
||||
#ifdef MOZ_NUWA_PROCESS
|
||||
nsThreadManager::get()->SetThreadIdle(nullptr);
|
||||
#endif // MOZ_NUWA_PROCESS
|
||||
|
||||
// Nothing to do; block until some work is available.
|
||||
mMonitor.Wait();
|
||||
} while (true);
|
||||
@ -252,6 +256,10 @@ private:
|
||||
work.mDecoder = aQueue.ElementAt(0);
|
||||
aQueue.RemoveElementAt(0);
|
||||
|
||||
#ifdef MOZ_NUWA_PROCESS
|
||||
nsThreadManager::get()->SetThreadWorking();
|
||||
#endif // MOZ_NUWA_PROCESS
|
||||
|
||||
return work;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user