Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Deprecate MSG_task_isend_with_matching()
authorMartin Quinson <martin.quinson@loria.fr>
Sat, 5 Aug 2017 09:05:32 +0000 (11:05 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sat, 5 Aug 2017 09:05:32 +0000 (11:05 +0200)
ChangeLog
include/simgrid/msg.h

index a5b5d04..251ba08 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,10 @@ SimGrid (3.17) UNRELEASED (release target: September 22 2017)
  SURF
   - Unused option network/sender-gap is removed.
 
+ MSG
+  - Deprecate MSG_task_isend_with_matching(): This unused feature
+    really complicates our internals. Will be removed in v3.20.
+
 SimGrid (3.16) Released June 22. 2017.
 
  The Blooming Spring Release: developments are budding.
index e73fead..c621759 100644 (file)
@@ -403,8 +403,10 @@ XBT_PUBLIC(msg_error_t) MSG_task_receive_bounded(msg_task_t * task, const char *
 XBT_PUBLIC(msg_comm_t) MSG_task_isend(msg_task_t task, const char *alias);
 XBT_PUBLIC(msg_comm_t) MSG_task_isend_bounded(msg_task_t task, const char *alias, double maxrate);
 XBT_PUBLIC(msg_comm_t)
-MSG_task_isend_with_matching(msg_task_t task, const char* alias, int (*match_fun)(void*, void*, void*),
-                             void* match_data);
+XBT_ATTRIB_DEPRECATED_v320(
+    "This function will be removed from SimGrid v3.20. If you really need this function, please speak up quickly.")
+    MSG_task_isend_with_matching(msg_task_t task, const char* alias, int (*match_fun)(void*, void*, void*),
+                                 void* match_data);
 
 XBT_PUBLIC(void) MSG_task_dsend(msg_task_t task, const char *alias, void_f_pvoid_t cleanup);
 XBT_PUBLIC(void) MSG_task_dsend_bounded(msg_task_t task, const char *alias, void_f_pvoid_t cleanup, double maxrate);