Adding a yield in the XMA decoder to give other threads some breathing room.
This commit is contained in:
parent
e7b46afa9d
commit
1cf1568189
|
@ -140,6 +140,7 @@ void XmaDecoder::WorkerThreadMain() {
|
|||
// registers_.current_context = n;
|
||||
// registers_.next_context = (n + 1) % kContextCount;
|
||||
}
|
||||
xe::threading::MaybeYield();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue