diff options
| author | Subv <subv2112@gmail.com> | 2016-12-08 11:06:19 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2016-12-08 11:06:19 -0500 |
| commit | 021e7328150cff280f0a0f5efb28ded741374877 (patch) | |
| tree | aebba4794da82175756a09e7d4d1de8d835bf412 /src/core/hle/svc.cpp | |
| parent | 06b2b80d315561772716d91ce4b5a0a4937870c8 (diff) | |
Use std::move where appropriate.
Diffstat (limited to 'src/core/hle/svc.cpp')
| -rw-r--r-- | src/core/hle/svc.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index 0a2b474eee..f24b5c91a5 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp @@ -226,19 +226,15 @@ static ResultCode ConnectToPort(Handle* out_handle, const char* port_name) { auto client_port = it->second; - // Connect to the port and retrieve the client endpoint of the connection Session. SharedPtr<Kernel::ClientSession> client_session; CASCADE_RESULT(client_session, client_port->Connect()); - // Note: Threads do not wait for the server endpoint to call - // AcceptSession before returning from this call. - // Return the client session CASCADE_RESULT(*out_handle, Kernel::g_handle_table.Create(client_session)); return RESULT_SUCCESS; } -/// Synchronize to an OS service +/// Makes a blocking IPC call to an OS service. static ResultCode SendSyncRequest(Handle handle) { SharedPtr<Kernel::ClientSession> session = Kernel::g_handle_table.Get<Kernel::ClientSession>(handle); if (session == nullptr) { |
