summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2014-08-06 18:30:01 -0400
committerGravatar bunnei2014-08-06 18:30:01 -0400
commitd0c179485392903fa413543d6b6908d45bc1f0fb (patch)
treea2e85ca4b091042e2e45446fda5b36bf6f62d2b3 /src/core/hle/kernel/thread.cpp
parentMerge pull request #36 from bunnei/fix-memory-unaligned-reads (diff)
parentGPU: Updated g_last_ticks variable to be more descriptive (represents CPU tic... (diff)
downloadyuzu-d0c179485392903fa413543d6b6908d45bc1f0fb.tar.gz
yuzu-d0c179485392903fa413543d6b6908d45bc1f0fb.tar.xz
yuzu-d0c179485392903fa413543d6b6908d45bc1f0fb.zip
Merge pull request #34 from bunnei/gsp-command-synch
Gsp command synch
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r--src/core/hle/kernel/thread.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp
index 86bbf29d0..1d7ded6f6 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.cpp
@@ -274,7 +274,11 @@ Thread* NextThread() {
274 return Kernel::g_object_pool.GetFast<Thread>(next); 274 return Kernel::g_object_pool.GetFast<Thread>(next);
275} 275}
276 276
277/// Puts the current thread in the wait state for the given type 277/**
278 * Puts the current thread in the wait state for the given type
279 * @param wait_type Type of wait
280 * @param wait_handle Handle of Kernel object that we are waiting on, defaults to current thread
281 */
278void WaitCurrentThread(WaitType wait_type, Handle wait_handle) { 282void WaitCurrentThread(WaitType wait_type, Handle wait_handle) {
279 Thread* thread = GetCurrentThread(); 283 Thread* thread = GetCurrentThread();
280 thread->wait_type = wait_type; 284 thread->wait_type = wait_type;