diff options
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index ce63a70d3..53a19d779 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h | |||
| @@ -58,6 +58,14 @@ void Reschedule(); | |||
| 58 | /// Stops the current thread | 58 | /// Stops the current thread |
| 59 | ResultCode StopThread(Handle thread, const char* reason); | 59 | ResultCode StopThread(Handle thread, const char* reason); |
| 60 | 60 | ||
| 61 | /** | ||
| 62 | * Retrieves the ID of the specified thread handle | ||
| 63 | * @param thread_id Will contain the output thread id | ||
| 64 | * @param handle Handle to the thread we want | ||
| 65 | * @return Whether the function was successful or not | ||
| 66 | */ | ||
| 67 | ResultCode GetThreadId(u32* thread_id, Handle handle); | ||
| 68 | |||
| 61 | /// Resumes a thread from waiting by marking it as "ready" | 69 | /// Resumes a thread from waiting by marking it as "ready" |
| 62 | void ResumeThreadFromWait(Handle handle); | 70 | void ResumeThreadFromWait(Handle handle); |
| 63 | 71 | ||