X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/99b5293909074fc0bc2348bd719990b91baa365d..0b60a166de514be86232c435bacfaa1da0f841f9:/src/simix/private.h diff --git a/src/simix/private.h b/src/simix/private.h index e3fc539264..ccbec1e1e4 100644 --- a/src/simix/private.h +++ b/src/simix/private.h @@ -109,7 +109,8 @@ typedef struct s_smx_action { size_t *dst_buff_size; char copied; - void *data; /* User data associated to communication */ + void* src_data; /* User data associated to communication */ + void* dst_data; } comm; struct { @@ -124,7 +125,6 @@ typedef struct s_smx_action { }; #ifdef HAVE_TRACING - long long int counter; /* simix action unique identifier for instrumentation */ char *category; /* simix action category for instrumentation */ #endif } s_smx_action_t; @@ -155,6 +155,7 @@ void SIMIX_context_mod_exit(void); /* All factories init */ void SIMIX_ctx_thread_factory_init(smx_context_factory_t *factory); void SIMIX_ctx_sysv_factory_init(smx_context_factory_t *factory); +void SIMIX_ctx_raw_factory_init(smx_context_factory_t *factory); /* ****************************** */ /* context manipulation functions */ @@ -255,4 +256,5 @@ static XBT_INLINE void* SIMIX_context_get_data(smx_context_t context) return (*(simix_global->context_factory->get_data))(context); } +XBT_PUBLIC(int) SIMIX_process_get_maxpid(void); #endif