mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-30 06:14:19 +01:00
Merge pull request #436 from kevinhartman/system-core
Warn if a new thread is intended to be run on the system CPU core
This commit is contained in:
commit
86e07124ad
@ -239,6 +239,11 @@ static Result CreateThread(u32 priority, u32 entry_point, u32 arg, u32 stack_top
|
|||||||
"threadpriority=0x%08X, processorid=0x%08X : created handle=0x%08X", entry_point,
|
"threadpriority=0x%08X, processorid=0x%08X : created handle=0x%08X", entry_point,
|
||||||
name.c_str(), arg, stack_top, priority, processor_id, thread);
|
name.c_str(), arg, stack_top, priority, processor_id, thread);
|
||||||
|
|
||||||
|
if (THREADPROCESSORID_1 == processor_id) {
|
||||||
|
LOG_WARNING(Kernel_SVC,
|
||||||
|
"thread designated for system CPU core (UNIMPLEMENTED) will be run with app core scheduling");
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user