From 30d903d16b37c8412494d74fcf0ece22aa892cfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Borys=20Pop=C5=82awski?= Date: Wed, 21 Apr 2021 15:08:23 +0200 Subject: [PATCH] fixup! [LibOS] Rework IPC transport layer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Borys Popławski --- LibOS/shim/include/shim_ipc.h | 4 ++-- LibOS/shim/src/ipc/shim_ipc_worker.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LibOS/shim/include/shim_ipc.h b/LibOS/shim/include/shim_ipc.h index 7806acd622..de02d4c953 100644 --- a/LibOS/shim/include/shim_ipc.h +++ b/LibOS/shim/include/shim_ipc.h @@ -143,7 +143,7 @@ int send_ipc_message(struct shim_ipc_msg* msg, IDTYPE dest); * \param dest vmid of the destination process * \param[out] seq upon return contains sequence number of this message * - * Ssend a ipc message to the \p dest process and await for a response. An unique number is assigned + * Send an ipc message to the \p dest process and wait for a response. An unique number is assigned * before sending the message and this thread will wait for a response ipc message, which contains * the same sequence number. */ @@ -183,7 +183,7 @@ void ipc_msg_response_handle(IDTYPE src, unsigned long seq, * \brief Wake up the thread awaiting for a response to \p req_msg * * \param req_msg original message which got the response - * \param data unused (just to confrom to #ipc_msg_response_handle callbacks interface) + * \param data unused (just to conform to #ipc_msg_response_handle callbacks interface) */ void wake_req_msg_thread(struct shim_ipc_msg_with_ack* req_msg, void* data); diff --git a/LibOS/shim/src/ipc/shim_ipc_worker.c b/LibOS/shim/src/ipc/shim_ipc_worker.c index 354351a888..6efaa64559 100644 --- a/LibOS/shim/src/ipc/shim_ipc_worker.c +++ b/LibOS/shim/src/ipc/shim_ipc_worker.c @@ -235,7 +235,7 @@ static int receive_ipc_messages(struct shim_ipc_connection* conn) { #undef READAHEAD_SIZE static noreturn void ipc_worker_main(void) { - /* TODO: If we had a global array of connection (instead of a list) we wouldn't have to gather + /* TODO: If we had a global array of connections (instead of a list) we wouldn't have to gather * them all here in every loop iteration, but then deletion would be slower (but deletion should * be rare). */ struct shim_ipc_connection** connections = NULL;