Bug 1504742 - Annotate idle stacks in the DecodePool code. r=aosmond

Depends on D10927

Differential Revision: https://phabricator.services.mozilla.com/D10928

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Markus Stange 2018-11-05 18:14:17 +00:00
Родитель b3ccf6bc98
Коммит 53bbc22a83
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -194,6 +194,7 @@ private:
}
// Nothing to do; block until some work is available.
AUTO_PROFILER_LABEL("DecodePoolImpl::PopWorkLocked::Wait", IDLE);
if (!aShutdownIdle) {
// This thread was created before we hit the idle thread maximum. It
// will never shutdown until the process itself is torn down.