X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/edde8f7fbc1b74a81551bf9eb7bac1935b999296..b9d8ff0f5f0819d9103795c70ed49534d695f8ba:/src/simix/private.h diff --git a/src/simix/private.h b/src/simix/private.h index 41694a8534..6a9bb77808 100644 --- a/src/simix/private.h +++ b/src/simix/private.h @@ -19,6 +19,7 @@ #include "instr/instr_private.h" #include "process_private.h" #include "host_private.h" +#include "io_private.h" #include "network_private.h" #include "smurf_private.h" #include "synchro_private.h" @@ -94,6 +95,8 @@ typedef struct s_smx_action { int refcount; /* Number of processes involved in the cond */ int detached; /* If detached or not */ + void (*clean_fun)(void*); /* Function to clean the detached src_buf if something goes wrong */ + /* Surf action data */ surf_action_t surf_comm; /* The Surf communication action encapsulated */ surf_action_t src_timeout; /* Surf's actions to instrument the timeouts */ @@ -123,6 +126,10 @@ typedef struct s_smx_action { surf_action_t sleep; } synchro; + struct { + smx_host_t host; /* The host that is sleeping */ + surf_action_t surf_io; + } io; }; #ifdef HAVE_LATENCY_BOUND_TRACKING