diff options
| author | 2015-01-09 11:14:35 -0500 | |
|---|---|---|
| committer | 2015-01-09 11:14:35 -0500 | |
| commit | 86e07124adcbe0ec8f35740d3ac2d516dc07f771 (patch) | |
| tree | 8c54bba8fe39bf86138d7c7468c0ae9e9f7f8fd7 /src/core | |
| parent | Merge pull request #453 from yuriks/vs-parallel (diff) | |
| parent | Warn if a new thread is intended to be run on the system CPU core until we im... (diff) | |
| download | yuzu-86e07124adcbe0ec8f35740d3ac2d516dc07f771.tar.gz yuzu-86e07124adcbe0ec8f35740d3ac2d516dc07f771.tar.xz yuzu-86e07124adcbe0ec8f35740d3ac2d516dc07f771.zip | |
Merge pull request #436 from kevinhartman/system-core
Warn if a new thread is intended to be run on the system CPU core
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/svc.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index cdcdea36d..051f2d2c6 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp | |||
| @@ -239,6 +239,11 @@ static Result CreateThread(u32 priority, u32 entry_point, u32 arg, u32 stack_top | |||
| 239 | "threadpriority=0x%08X, processorid=0x%08X : created handle=0x%08X", entry_point, | 239 | "threadpriority=0x%08X, processorid=0x%08X : created handle=0x%08X", entry_point, |
| 240 | name.c_str(), arg, stack_top, priority, processor_id, thread); | 240 | name.c_str(), arg, stack_top, priority, processor_id, thread); |
| 241 | 241 | ||
| 242 | if (THREADPROCESSORID_1 == processor_id) { | ||
| 243 | LOG_WARNING(Kernel_SVC, | ||
| 244 | "thread designated for system CPU core (UNIMPLEMENTED) will be run with app core scheduling"); | ||
| 245 | } | ||
| 246 | |||
| 242 | return 0; | 247 | return 0; |
| 243 | } | 248 | } |
| 244 | 249 | ||