X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d7bad17b9b1c8c9475fcf86bfeebc4d5d7d35fb4..2ad536e710c5936ff8e525e4bbb5e7046f292aac:/include/simgrid/actor.h diff --git a/include/simgrid/actor.h b/include/simgrid/actor.h index dcee50796a..fb34364914 100644 --- a/include/simgrid/actor.h +++ b/include/simgrid/actor.h @@ -72,6 +72,7 @@ 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(); +/** Returns the name of the current actor (or "maestro" if maestro is running) */ XBT_PUBLIC const char* sg_actor_self_get_name(); XBT_PUBLIC void* sg_actor_self_get_data(); XBT_PUBLIC void sg_actor_self_set_data(void* data);