diff --git a/mpi/docs/06-non-blocking-communication.md b/mpi/docs/06-non-blocking-communication.md index 9c046464a..982cad022 100644 --- a/mpi/docs/06-non-blocking-communication.md +++ b/mpi/docs/06-non-blocking-communication.md @@ -7,7 +7,7 @@ lang: en # Non-blocking communication - Non-blocking communication operations return immediately and perform sending/receiving in the background - - Communication needs to be separately finalized (more about this later) + - Communication needs to be separately finalized - Enables some computing concurrently with communication - Avoids many common deadlock situations - Collective operations are also available as non-blocking versions @@ -49,6 +49,9 @@ MPI_Wait(`request`{.input}, `status`{.output})
- Status of the completed communication is similar to that of `MPI_Recv` +
+- Demo: `send_and_recv_nonblocking.c`
+
# Wait for many non-blocking operations
@@ -68,7 +71,7 @@ MPI_Waitsome(`count`{.input}, `array_of_requests`{.input}, `outcount`{.output},
**`MPI_Irecv`(ghost_data)**
**`MPI_Isend`(border_data)**
**`compute`(ghost_independent_data)**
-**`MPI_Waitall`**
+**`MPI_Waitall()`**
**`compute`(border_data)**