Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add sg_actor_exit and sg_actor_on_exit
[simgrid.git] / src / msg / msg_legacy.cpp
index 01de8f8..505ea3b 100644 (file)
@@ -51,6 +51,11 @@ int MSG_task_listen(const char* alias)
 }
 
 /* ************************** Actors *************************** */
+void MSG_process_on_exit(int_f_int_pvoid_t fun, void* data)
+{
+  sg_actor_on_exit(fun, data);
+}
+
 int MSG_process_get_PID(const_sg_actor_t actor)
 {
   return sg_actor_get_PID(actor);