X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b7c53df18dcbf388f0dce6d7baa3086436028313..c5d588d76539d285fb67bef1ab477191622b94a9:/doc/doxygen/uhood_switch.doc diff --git a/doc/doxygen/uhood_switch.doc b/doc/doxygen/uhood_switch.doc index 3f3dc808f5..7b579d4cbd 100644 --- a/doc/doxygen/uhood_switch.doc +++ b/doc/doxygen/uhood_switch.doc @@ -479,7 +479,7 @@ auto kernel_sync(F code) -> decltype(code().get()) typedef decltype(code().get()) T; xbt_assert(not SIMIX_is_maestro(), "Can't execute blocking call in kernel mode"); - smx_actor_t self = SIMIX_process_self(); + auto self = simgrid::kernel::actor::ActorImpl::self(); simgrid::xbt::Result result; simcall_run_blocking([&result, self, &code]{ @@ -549,7 +549,7 @@ T simgrid::simix::Future::get() { if (!valid()) throw std::future_error(std::future_errc::no_state); - smx_actor_t self = SIMIX_process_self(); + auto self = simgrid::kernel::actor::ActorImpl::self(); simgrid::xbt::Result result; simcall_run_blocking([this, &result, self]{ try {