X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8a0edc1a3b6e911b8e6b8db2cb2c94b751fae29a..ab820f42318db971aa940275587c2567033b1bfe:/include/simgrid/actor.h diff --git a/include/simgrid/actor.h b/include/simgrid/actor.h index 4dddd4620c..47d6622677 100644 --- a/include/simgrid/actor.h +++ b/include/simgrid/actor.h @@ -42,6 +42,13 @@ XBT_PUBLIC void sg_actor_yield(); XBT_PUBLIC void sg_actor_sleep_for(double duration); XBT_PUBLIC sg_actor_t sg_actor_attach(const char* name, void* data, sg_host_t host, xbt_dict_t properties); XBT_PUBLIC void sg_actor_detach(); +XBT_PUBLIC sg_actor_t sg_actor_self(); +XBT_PUBLIC aid_t sg_actor_self_get_pid(); +XBT_PUBLIC aid_t sg_actor_self_get_ppid(); +XBT_PUBLIC const char* sg_actor_self_get_name(); +XBT_PUBLIC void sg_actor_ref(sg_actor_t actor); +XBT_PUBLIC void sg_actor_unref(sg_actor_t actor); + SG_END_DECL() #endif /* INCLUDE_SIMGRID_ACTOR_H_ */