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