mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-10-01 23:27:09 +02:00
kern: Fix bug in thread core migration
This commit is contained in:
parent
c624611487
commit
590036eeb8
@ -400,7 +400,7 @@ namespace ams::kern {
|
|||||||
|
|
||||||
/* Remove from the suggested queue and add to the scheduled queue for the new core. */
|
/* Remove from the suggested queue and add to the scheduled queue for the new core. */
|
||||||
if (new_core >= 0) {
|
if (new_core >= 0) {
|
||||||
this->suggested_queue.Remove(priority, prev_core, member);
|
this->suggested_queue.Remove(priority, new_core, member);
|
||||||
if (to_front) {
|
if (to_front) {
|
||||||
this->scheduled_queue.PushFront(priority, new_core, member);
|
this->scheduled_queue.PushFront(priority, new_core, member);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user