Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] Replace Actor::self() with smpi::Process's process_
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Thu, 18 Jan 2018 16:02:05 +0000 (17:02 +0100)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Wed, 24 Jan 2018 14:58:21 +0000 (15:58 +0100)
src/smpi/internals/smpi_process.cpp

index f5d50ea..17b3812 100644 (file)
@@ -75,7 +75,7 @@ void Process::set_data(int* argc, char*** argv)
   argc_ = argc;
   argv_ = argv;
   // set the process attached to the mailbox
-  mailbox_small_->setReceiver(simgrid::s4u::Actor::self());
+  mailbox_small_->setReceiver(process_);
   XBT_DEBUG("<%lu> New process in the game: %p", process_->getPid(), process_);
 }