]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/include/smpi_actor.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
In smpi::Group, 'index' is in fact a PID. Fix type and rename.
[simgrid.git] / src / smpi / include / smpi_actor.hpp
index 73092b6720297aa36b1f5283e68493e6fbed0b35..dd1519d9002cededf26853f4270925e665aaeac0 100644 (file)
@@ -75,6 +75,7 @@ public:
   void simulated_start();
   double simulated_elapsed() const;
   MPI_Comm comm_world() const;
+  bool comm_self_is_set() const { return (comm_self_ != MPI_COMM_NULL); };
   MPI_Comm comm_self();
   MPI_Comm comm_intra();
   void set_comm_intra(MPI_Comm comm);
@@ -86,7 +87,7 @@ public:
   void set_optind(int optind);
   MPI_Info info_env();
   void bsend_buffer(void** buf, int* size);
-  void set_bsend_buffer(void* buf, int size);
+  int set_bsend_buffer(void* buf, int size);
 };
 
 } // namespace smpi