aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Kevin Hartman <kevin@hart.mn>2015-01-06 22:07:29 -0800
committerGravatar Kevin Hartman <kevin@hart.mn>2015-01-07 14:14:48 -0800
commit63be6aaadd7860dd7be587c8196eb1063b0a6b3c (patch)
tree1cea79e877e7ccebf91d10f8445e8d3773bb3b18 /src
parent5217e3f8737c5033ff280b78ab7a28bf05534835 (diff)
Warn if a new thread is intended to be run on the system CPU core until we implement correct scheduling for such a thread.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/svc.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp
index c25409a9..2b948d01 100644
--- a/src/core/hle/svc.cpp
+++ b/src/core/hle/svc.cpp
@@ -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,
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;
}