Adding a yield in the XMA decoder to give other threads some breathing room.

This commit is contained in:
Ben Vanik 2015-08-29 22:12:31 -07:00
parent e7b46afa9d
commit 1cf1568189
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ void XmaDecoder::WorkerThreadMain() {
// registers_.current_context = n; // registers_.current_context = n;
// registers_.next_context = (n + 1) % kContextCount; // registers_.next_context = (n + 1) % kContextCount;
} }
xe::threading::MaybeYield();
} }
} }