diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-05-25 20:34:09 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-05-29 22:59:29 +0200 |
commit | b1503b202043a577720e28969b74cca6f9c954f8 (patch) | |
tree | 7da9cdd46c0cde990c30c11570882efdca9396c6 /src/core/hle/kernel/thread.cpp | |
parent | Merge pull request #817 from linkmauve/citra.ico (diff) | |
download | yuzu-b1503b202043a577720e28969b74cca6f9c954f8.tar yuzu-b1503b202043a577720e28969b74cca6f9c954f8.tar.gz yuzu-b1503b202043a577720e28969b74cca6f9c954f8.tar.bz2 yuzu-b1503b202043a577720e28969b74cca6f9c954f8.tar.lz yuzu-b1503b202043a577720e28969b74cca6f9c954f8.tar.xz yuzu-b1503b202043a577720e28969b74cca6f9c954f8.tar.zst yuzu-b1503b202043a577720e28969b74cca6f9c954f8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 690d33b55..22c795ad4 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -100,7 +100,7 @@ void Thread::Stop() { } status = THREADSTATUS_DEAD; - + WakeupAllWaitingThreads(); // Clean up any dangling references in objects that this thread was waiting for @@ -169,7 +169,7 @@ static void PriorityBoostStarvedThreads() { } } -/** +/** * Switches the CPU's active thread context to that of the specified thread * @param new_thread The thread to switch to */ @@ -353,7 +353,7 @@ void Thread::ResumeFromWait() { GetObjectId()); return; } - + ready_queue.push_back(current_priority, this); status = THREADSTATUS_READY; } @@ -504,7 +504,7 @@ void Reschedule() { } else if (next) { LOG_TRACE(Kernel, "context switch idle -> %u", next->GetObjectId()); } - + SwitchContext(next); } |