Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reverting Mt's modifications and preparing the delayed MSG_process_create.
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 1 Jun 2005 19:17:04 +0000 (19:17 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 1 Jun 2005 19:17:04 +0000 (19:17 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1314 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/msg/private.h

index d93d251..6664878 100644 (file)
@@ -54,10 +54,19 @@ typedef struct simdata_process {
   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 */
-  int paje_state;               /* the number of state stacked with Paje */
-  double kill_time;             /* When to kill the process */
+  int paje_state;               /* the number of states stacked with Paje */
 } s_simdata_process_t;
 
+typedef struct process_arg {
+  const char *name;
+  m_process_code_t code;
+  void *data;
+  m_host_t host;
+  int argc;
+  char **argv;
+  double kill_time;
+} s_process_arg_t, *process_arg_t;
+
 /************************** Global variables ********************************/
 typedef struct MSG_Global {
   xbt_fifo_t host;
@@ -73,6 +82,7 @@ typedef struct MSG_Global {
 } s_MSG_Global_t, *MSG_Global_t;
 
 extern MSG_Global_t msg_global;
+      
 
 /*************************************************************/