Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
allow the use of MSG_TIMEOUT_FAILURE if MSG_USE_DEPRECATED is declared)
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 9 Apr 2010 16:14:21 +0000 (16:14 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 9 Apr 2010 16:14:21 +0000 (16:14 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7526 48e7efb5-ca39-0410-a469-dd3cf9ba447f

ChangeLog
include/msg/msg.h

index 041d66c..5c28784 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -46,6 +46,7 @@ SimGrid (3.4-svn) unstable; urgency=low
   * Kill MSG_WARNING and MSG_FATAL return codes: they were not used
     anywere in source.
   * Rename MSG_TIMEOUT_FAILURE into MSG_TIMEOUT for sake of logic
+    (declare MSG_USE_DEPRECATED to still have the old name)
   * Add a MSG_task_set_data() function
   * About trace replay (see examples/msg/actions):
     - implement barrier
index 7610386..14cfc9a 100644 (file)
@@ -202,6 +202,8 @@ XBT_PUBLIC(void) MSG_action_unregister(const char *action_name);
 
 
 #ifdef MSG_USE_DEPRECATED
+/* these are the functions which are deprecated. Do not use them, they may get removed in future releases */
+#define MSG_TIMEOUT_FAILURE MSG_TIMEOUT
 #define MSG_mailbox_put_with_time_out(mailbox, task, timeout) \
         MSG_mailbox_put_with_timeout(mailbox, task, timeout)