From 3010b32a3f0ce4b750811eda3d65f31cffe4d268 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sat, 5 Aug 2017 11:05:32 +0200 Subject: [PATCH] Deprecate MSG_task_isend_with_matching() --- ChangeLog | 4 ++++ include/simgrid/msg.h | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a5b5d0448a..251ba08e59 100644 --- 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. diff --git a/include/simgrid/msg.h b/include/simgrid/msg.h index e73feada76..c6217599bb 100644 --- a/include/simgrid/msg.h +++ b/include/simgrid/msg.h @@ -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); -- 2.20.1