diff options
author | bunnei <ericbunnie@gmail.com> | 2014-06-02 03:42:50 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-06-02 03:42:50 +0200 |
commit | 10447d1f4831b495d7bef7711681ddd548f847a6 (patch) | |
tree | 7315bc1d8addcab21bd3e532f806811682c4eb01 /src/core/hle/kernel/thread.cpp | |
parent | arm: added option to prepare CPU core (while mid-instruction) for thread reschedule (diff) | |
download | yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar.gz yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar.bz2 yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar.lz yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar.xz yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar.zst yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.zip |
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index d1e13c949..f2094f7a7 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -285,11 +285,11 @@ Handle CreateThread(const char* name, u32 entry_point, s32 priority, u32 arg, s3 HLE::EatCycles(32000); + CallThread(t); + // This won't schedule to the new thread, but it may to one woken from eating cycles. // Technically, this should not eat all at once, and reschedule in the middle, but that's hard. - HLE::ReSchedule("thread created"); - - CallThread(t); + //HLE::Reschedule("thread created"); return handle; } |