Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] Add a simple comment for the else clause
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Wed, 8 Jun 2016 13:47:02 +0000 (15:47 +0200)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Wed, 8 Jun 2016 13:47:20 +0000 (15:47 +0200)
src/smpi/smpi_base.cpp

index fc2a0b0..c26d0fd 100644 (file)
@@ -414,7 +414,8 @@ void smpi_mpi_start(MPI_Request request)
 
     if (async_small_thresh != 0 || (request->flags & RMA) != 0 )
       xbt_mutex_release(mut);
-  } else {
+  }
+  else { /* the RECV flag was not set, so this is a send */
     int receiver = request->dst;
 
     int rank = request->src;