Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
The file containing the new implementation of the switch context mechanism.
[simgrid.git] / src / simix / private.h
index 6938efd..ccc29de 100644 (file)
@@ -15,7 +15,7 @@
 #include "xbt/fifo.h"
 #include "xbt/swag.h"
 #include "xbt/dict.h"
-#include "xbt/context.h"
+#include "xbt/xbt_context.h"
 #include "xbt/config.h"
 #include "xbt/function_types.h"
 
@@ -56,6 +56,7 @@ typedef struct s_smx_simdata_process {
   smx_cond_t cond;             /* cond on which the process is blocked  */
   int argc;                    /* arguments number if any */
   char **argv;                 /* arguments table if any */
+  xbt_dict_t properties;
 } s_smx_simdata_process_t;
 
 typedef struct s_smx_process_arg {
@@ -66,6 +67,7 @@ typedef struct s_smx_process_arg {
   int argc;
   char **argv;
   double kill_time;
+  xbt_dict_t properties;
 } s_smx_process_arg_t, *smx_process_arg_t;
 
 /********************************* Mutex and Conditional ****************************/