Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
dumb me.
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Fri, 22 Feb 2019 14:55:50 +0000 (15:55 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Fri, 22 Feb 2019 14:55:50 +0000 (15:55 +0100)
src/s4u/s4u_Actor.cpp

index a98818a..17196f2 100644 (file)
@@ -665,7 +665,7 @@ sg_actor_t sg_actor_attach(const char* name, void* data, sg_host_t host, xbt_dic
   smx_actor_t actor = simgrid::kernel::actor::ActorImpl::attach(name, data, host, &props).get();
   if (not actor)
     xbt_die("Could not attach");
-  actor->yield();
+  simgrid::s4u::this_actor::yield();
   return actor->ciface();
 }