diff options
| author | 2014-08-06 18:30:01 -0400 | |
|---|---|---|
| committer | 2014-08-06 18:30:01 -0400 | |
| commit | d0c179485392903fa413543d6b6908d45bc1f0fb (patch) | |
| tree | a2e85ca4b091042e2e45446fda5b36bf6f62d2b3 /src/core/hle/kernel/thread.h | |
| parent | Merge pull request #36 from bunnei/fix-memory-unaligned-reads (diff) | |
| parent | GPU: Updated g_last_ticks variable to be more descriptive (represents CPU tic... (diff) | |
| download | yuzu-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.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index f2bfdfa1a..39fa38b75 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h | |||
| @@ -69,7 +69,11 @@ void ArbitrateAllThreads(u32 arbiter, u32 address); | |||
| 69 | /// Gets the current thread handle | 69 | /// Gets the current thread handle |
| 70 | Handle GetCurrentThreadHandle(); | 70 | Handle GetCurrentThreadHandle(); |
| 71 | 71 | ||
| 72 | /// Puts the current thread in the wait state for the given type | 72 | /** |
| 73 | * Puts the current thread in the wait state for the given type | ||
| 74 | * @param wait_type Type of wait | ||
| 75 | * @param wait_handle Handle of Kernel object that we are waiting on, defaults to current thread | ||
| 76 | */ | ||
| 73 | void WaitCurrentThread(WaitType wait_type, Handle wait_handle=GetCurrentThreadHandle()); | 77 | void WaitCurrentThread(WaitType wait_type, Handle wait_handle=GetCurrentThreadHandle()); |
| 74 | 78 | ||
| 75 | /// Put current thread in a wait state - on WaitSynchronization | 79 | /// Put current thread in a wait state - on WaitSynchronization |