Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
getting rid of MSG_getClock
[simgrid.git] / include / msg / datatypes.h
index 2a7c810..9a49c4a 100644 (file)
@@ -42,7 +42,7 @@ typedef struct simdata_task *simdata_task_t;
 /** @brief Task datatype 
     @ingroup m_datatypes_management_details */
 typedef struct m_task {
-  char *name;                  /**< @brief host name if any */
+  char *name;                  /**< @brief task name if any */
   simdata_task_t simdata;      /**< @brief simulator data */
   void *data;                  /**< @brief user data */
 } s_m_task_t;
@@ -118,6 +118,8 @@ typedef enum {
   MSG_HOST_FAILURE, /**< @brief System shutdown. The host on which you are
       running has just been rebooted. Free your datastructures and
       return now !*/
+  MSG_TASK_CANCELLED, /**< @brief Cancelled task. This task has been cancelled 
+                       by somebody!*/
   MSG_FATAL /**< @brief You've done something wrong. You'd better look at it... */
 } MSG_error_t;
 /** @} */