Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix jedule and do the right thing for netzone hosts
[simgrid.git] / include / simgrid / s4u / comm.hpp
index 941a553..239755e 100644 (file)
@@ -26,8 +26,6 @@ XBT_PUBLIC_CLASS Comm : public Activity {
 public:
   ~Comm() override;
 
-public:
-  
   /*! take a range of s4u::Comm* (last excluded) and return when one of them is finished. The return value is an iterator on the finished Comms. */
   template<class I> static
   I wait_any(I first, I last)
@@ -122,8 +120,8 @@ private:
   void (*cleanFunction_)(void *) = nullptr;
   void (*copyDataFunction_)(smx_activity_t, void*, size_t) = nullptr;
 
-  smx_process_t sender_ = nullptr;
-  smx_process_t receiver_ = nullptr;
+  smx_actor_t sender_ = nullptr;
+  smx_actor_t receiver_ = nullptr;
   MailboxPtr mailbox_ = nullptr;
 };