2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Warn if a new thread is intended to be run on the system CPU core until we implement correct scheduling for such a thread.

This commit is contained in:
Kevin Hartman 2015-01-06 22:07:29 -08:00
parent 5217e3f873
commit 63be6aaadd

View file

@ -237,6 +237,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;
} }