From: Frederic Suter Date: Fri, 22 Feb 2019 14:55:50 +0000 (+0100) Subject: dumb me. X-Git-Tag: v3_22~263 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a9b266bd598320a86378f74f4937ce8f90bf2165?hp=8a0edc1a3b6e911b8e6b8db2cb2c94b751fae29a dumb me. --- diff --git a/src/s4u/s4u_Actor.cpp b/src/s4u/s4u_Actor.cpp index a98818afe4..17196f2db3 100644 --- a/src/s4u/s4u_Actor.cpp +++ b/src/s4u/s4u_Actor.cpp @@ -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(); }