X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c5b66507bed01d07f72d09e96250a1cdfeaa90a4..467a0c53018ee489de1dd7ae61a083d52048b8e8:/src/simix/popping_accessors.h diff --git a/src/simix/popping_accessors.h b/src/simix/popping_accessors.h index 5e913d9bf4..32e906ec8f 100644 --- a/src/simix/popping_accessors.h +++ b/src/simix/popping_accessors.h @@ -1150,6 +1150,13 @@ static inline void simcall_run_kernel__set__code(smx_simcall_t simcall, std::fun simgrid::simix::marshal const*>(simcall->args[0], arg); } +static inline std::function const* simcall_run_blocking__get__code(smx_simcall_t simcall) { + return simgrid::simix::unmarshal const*>(simcall->args[0]); +} +static inline void simcall_run_blocking__set__code(smx_simcall_t simcall, std::function const* arg) { + simgrid::simix::marshal const*>(simcall->args[0], arg); +} + /* The prototype of all simcall handlers, automatically generated for you */ XBT_PRIVATE void simcall_HANDLER_vm_suspend(smx_simcall_t simcall, sg_host_t ind_vm);