Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] protecting category field in process structure
[simgrid.git] / include / msg / datatypes.h
index 494661e..d9d271c 100644 (file)
@@ -65,7 +65,7 @@ typedef struct m_task *m_task_t;
 */
 #define MSG_TASK_UNINITIALIZED NULL
 
-typedef struct s_smx_comm *msg_comm_t;
+typedef struct s_smx_action *msg_comm_t;
 /** @} */
 
 
@@ -79,7 +79,9 @@ typedef struct m_process {
   simdata_process_t simdata;
                                 /**< @brief simulator data */
   void *data;                   /**< @brief user data */
+#ifdef HAVE_TRACING
   char *category;               /* process category for instrumentation */
+#endif
 } s_m_process_t;
 /** @} */
 /** @brief Agent datatype  
@@ -105,7 +107,7 @@ typedef int m_channel_t;
 
 /* ******************************** Mailbox ************************************ */
 
-typedef struct s_msg_mailbox *msg_mailbox_t;
+typedef struct s_smx_rvpoint *msg_mailbox_t;
 /** @brief Mailbox datatype
     @ingroup m_datatypes_management_details @{ */