hle_ipc: Refactor SleepClientThread to avoid ReadableEvent

This commit is contained in:
Zach Hilman
2018-11-29 09:14:12 -05:00
parent a342bcc9b1
commit 170d707850
9 changed files with 14 additions and 14 deletions

View File

@ -122,13 +122,11 @@ public:
* was called.
* @param writable_event Event to use to wake up the thread. If unspecified, an event will be
* created.
* @param readable_event Event to be bound to the thread to wake up upon.
* @returns Event that when signaled will resume the thread and call the callback function.
*/
SharedPtr<WritableEvent> SleepClientThread(SharedPtr<Thread> thread, const std::string& reason,
u64 timeout, WakeupCallback&& callback,
SharedPtr<WritableEvent> writable_event = nullptr,
SharedPtr<ReadableEvent> readable_event = nullptr);
SharedPtr<WritableEvent> writable_event = nullptr);
/// Populates this context with data from the requesting process/thread.
ResultCode PopulateFromIncomingCommandBuffer(const HandleTable& handle_table,