diff options
author | Subv <subv2112@gmail.com> | 2015-01-07 22:40:08 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-01-09 00:39:12 +0100 |
commit | dfc440785af73e400e7672377bdf7f65c9eca61c (patch) | |
tree | 16981e2ec3d97455abe361bf6ebb6ef161df1c19 /src/core/hle/kernel/thread.h | |
parent | Merge pull request #439 from Subv/idle_thread_m (diff) | |
download | yuzu-dfc440785af73e400e7672377bdf7f65c9eca61c.tar yuzu-dfc440785af73e400e7672377bdf7f65c9eca61c.tar.gz yuzu-dfc440785af73e400e7672377bdf7f65c9eca61c.tar.bz2 yuzu-dfc440785af73e400e7672377bdf7f65c9eca61c.tar.lz yuzu-dfc440785af73e400e7672377bdf7f65c9eca61c.tar.xz yuzu-dfc440785af73e400e7672377bdf7f65c9eca61c.tar.zst yuzu-dfc440785af73e400e7672377bdf7f65c9eca61c.zip |
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r-- | src/core/hle/kernel/thread.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index dfe92d162..e6961e279 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 |