Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix https://framagit.org/simgrid/simgrid/issues/28
[simgrid.git] / include / simgrid / actor.h
index 4dddd4620c0a48006e8fa0e1dbca43e074e0b836..f32860d129573d1fca9de60070f78030698f98d1 100644 (file)
@@ -42,6 +42,11 @@ 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();
+
 SG_END_DECL()
 
 #endif /* INCLUDE_SIMGRID_ACTOR_H_ */