Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
fixup! [LibOS] Rework IPC transport layer
Browse files Browse the repository at this point in the history
Signed-off-by: Borys Popławski <[email protected]>
  • Loading branch information
boryspoplawski committed Apr 21, 2021
1 parent d9c7808 commit 30d903d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions LibOS/shim/include/shim_ipc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion LibOS/shim/src/ipc/shim_ipc_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 30d903d

Please sign in to comment.