aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-01-08 18:45:35 -0500
committerbunnei <bunneidev@gmail.com>2015-01-08 18:45:35 -0500
commitcf1bbe8705b04776be49c01265b11babbda59b2e (patch)
tree0bf742b6be09aa56c4a49f57667b463399b45d93 /src/core/hle/kernel/thread.h
parent2432f317e4ea1dbc8a6b87ea4ad8c326ad4b8f04 (diff)
parentdfc440785af73e400e7672377bdf7f65c9eca61c (diff)
Merge pull request #443 from Subv/sleep_thread
SVC: Fixed SleepThread
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r--src/core/hle/kernel/thread.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index dfe92d162a..e6961e279b 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -88,6 +88,13 @@ Handle GetCurrentThreadHandle();
void WaitCurrentThread(WaitType wait_type, Handle wait_handle=GetCurrentThreadHandle());
/**
+ * Schedules an event to wake up the specified thread after the specified delay.
+ * @param handle The thread handle.
+ * @param nanoseconds The time this thread will be allowed to sleep for.
+ */
+void WakeThreadAfterDelay(Handle handle, s64 nanoseconds);
+
+/**
* Puts the current thread in the wait state for the given type
* @param wait_type Type of wait
* @param wait_handle Handle of Kernel object that we are waiting on, defaults to current thread