diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-17 16:07:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-17 16:07:57 +0200 |
commit | 5f119bed56d20f73131b5ed51844637f92b12804 (patch) | |
tree | ab2c73b4cd29b32e6c79c0274d65fe7cee7f6070 /src/core/hle/kernel/hle_ipc.h | |
parent | Merge pull request #669 from lioncash/dynarmic (diff) | |
parent | nvflinger: Fix for BufferQueue event handling. (diff) | |
download | yuzu-5f119bed56d20f73131b5ed51844637f92b12804.tar yuzu-5f119bed56d20f73131b5ed51844637f92b12804.tar.gz yuzu-5f119bed56d20f73131b5ed51844637f92b12804.tar.bz2 yuzu-5f119bed56d20f73131b5ed51844637f92b12804.tar.lz yuzu-5f119bed56d20f73131b5ed51844637f92b12804.tar.xz yuzu-5f119bed56d20f73131b5ed51844637f92b12804.tar.zst yuzu-5f119bed56d20f73131b5ed51844637f92b12804.zip |
Diffstat (limited to 'src/core/hle/kernel/hle_ipc.h')
-rw-r--r-- | src/core/hle/kernel/hle_ipc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.h index 376263eac..c6eca7404 100644 --- a/src/core/hle/kernel/hle_ipc.h +++ b/src/core/hle/kernel/hle_ipc.h @@ -118,10 +118,12 @@ public: * @param callback Callback to be invoked when the thread is resumed. This callback must write * the entire command response once again, regardless of the state of it before this function * was called. + * @param event Event to use to wake up the thread. If unspecified, an event will be created. * @returns Event that when signaled will resume the thread and call the callback function. */ SharedPtr<Event> SleepClientThread(SharedPtr<Thread> thread, const std::string& reason, - u64 timeout, WakeupCallback&& callback); + u64 timeout, WakeupCallback&& callback, + Kernel::SharedPtr<Kernel::Event> event = nullptr); void ParseCommandBuffer(u32_le* src_cmdbuf, bool incoming); |