diff options
author | bunnei <bunneidev@gmail.com> | 2019-05-25 00:23:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-25 00:23:15 +0200 |
commit | d4f8fe24d943c8ef54eb24d2d7e3c1488a7f10bd (patch) | |
tree | 070b7852b128debc7c48c98c5754c80ca75adef8 /src/core/hle/kernel/hle_ipc.cpp | |
parent | Merge pull request #2505 from ReinUsesLisp/glad-update (diff) | |
parent | Address review comment (diff) | |
download | yuzu-d4f8fe24d943c8ef54eb24d2d7e3c1488a7f10bd.tar yuzu-d4f8fe24d943c8ef54eb24d2d7e3c1488a7f10bd.tar.gz yuzu-d4f8fe24d943c8ef54eb24d2d7e3c1488a7f10bd.tar.bz2 yuzu-d4f8fe24d943c8ef54eb24d2d7e3c1488a7f10bd.tar.lz yuzu-d4f8fe24d943c8ef54eb24d2d7e3c1488a7f10bd.tar.xz yuzu-d4f8fe24d943c8ef54eb24d2d7e3c1488a7f10bd.tar.zst yuzu-d4f8fe24d943c8ef54eb24d2d7e3c1488a7f10bd.zip |
Diffstat (limited to 'src/core/hle/kernel/hle_ipc.cpp')
-rw-r--r-- | src/core/hle/kernel/hle_ipc.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/hle/kernel/hle_ipc.cpp b/src/core/hle/kernel/hle_ipc.cpp index 42d9dd844..f3da525d6 100644 --- a/src/core/hle/kernel/hle_ipc.cpp +++ b/src/core/hle/kernel/hle_ipc.cpp @@ -43,7 +43,7 @@ void SessionRequestHandler::ClientDisconnected(const SharedPtr<ServerSession>& s } SharedPtr<WritableEvent> HLERequestContext::SleepClientThread( - SharedPtr<Thread> thread, const std::string& reason, u64 timeout, WakeupCallback&& callback, + const std::string& reason, u64 timeout, WakeupCallback&& callback, SharedPtr<WritableEvent> writable_event) { // Put the client thread to sleep until the wait event is signaled or the timeout expires. thread->SetWakeupCallback([context = *this, callback]( @@ -76,8 +76,9 @@ SharedPtr<WritableEvent> HLERequestContext::SleepClientThread( return writable_event; } -HLERequestContext::HLERequestContext(SharedPtr<Kernel::ServerSession> server_session) - : server_session(std::move(server_session)) { +HLERequestContext::HLERequestContext(SharedPtr<Kernel::ServerSession> server_session, + SharedPtr<Thread> thread) + : server_session(std::move(server_session)), thread(std::move(thread)) { cmd_buf[0] = 0; } |