Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Deprecate a SIMIX function that was badly named anyway
[simgrid.git] / include / simgrid / simix.h
index 3c618e8..76d3573 100644 (file)
@@ -23,7 +23,8 @@ extern unsigned smx_context_guard_size;
 
 SG_BEGIN_DECL
 
-XBT_PUBLIC smx_actor_t SIMIX_process_from_PID(aid_t PID);
+XBT_ATTRIB_DEPRECATED_v331("Please use sg_actor_by_PID instead.") XBT_PUBLIC smx_actor_t
+    SIMIX_process_from_PID(aid_t PID);
 
 /* parallelism */
 XBT_PUBLIC int SIMIX_context_is_parallel();