Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Added debug information to SIMIX network.
[simgrid.git] / src / msg / private.h
index 0760077..29f7a41 100644 (file)
@@ -18,7 +18,6 @@
 #include "xbt/dynar.h"
 #include "xbt/swag.h"
 #include "xbt/dict.h"
-#include "xbt/context.h"
 #include "xbt/config.h"
 
 SG_BEGIN_DECL()
@@ -26,10 +25,11 @@ SG_BEGIN_DECL()
 /**************** datatypes **********************************/
 /* this structure represents a mailbox */
      typedef struct s_msg_mailbox {
-       char *alias;             /* the key of the mailbox in the global dictionary                      */
-       xbt_fifo_t tasks;        /* the list of the tasks in the mailbox                                         */
-       smx_cond_t cond;         /* the condition on the mailbox                                                         */
-       char *hostname;          /* the name of the host containing the mailbox                          */
+       char *alias;             /* the key of the mailbox in the global dictionary */
+       xbt_fifo_t tasks;        /* the list of the tasks in the mailbox */
+       smx_cond_t cond;         /* the condition on the mailbox */
+       char *hostname;          /* the name of the host containing the mailbox */
+       smx_rdv_t rdv;           /* SIMIX rendez-vous point */
      } s_msg_mailbox_t;
 
      typedef struct simdata_host {
@@ -69,7 +69,7 @@ SG_BEGIN_DECL()
        int PPID;                /* The parent PID */
        m_host_t put_host;       /* used for debugging purposes */
        m_channel_t put_channel; /* used for debugging purposes */
-       m_task_t waiting_task;
+       smx_action_t waiting_action;
        int argc;                /* arguments number if any */
        char **argv;             /* arguments table if any */
        MSG_error_t last_errno;  /* the last value returned by a MSG_function */