X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7da2926d0733ff0683f31aeea176ce71e127264f..4606a1dce740efe467e6b9033b804294d376de8f:/src/simix/smx_process_private.h diff --git a/src/simix/smx_process_private.h b/src/simix/smx_process_private.h index f5379255a4..febf7a58b0 100644 --- a/src/simix/smx_process_private.h +++ b/src/simix/smx_process_private.h @@ -61,6 +61,7 @@ typedef struct s_smx_process { int argc; char **argv; smx_timer_t kill_timer; + int segment_index; /*Reference to an SMPI process' data segment. Default value is -1 if not in SMPI context*/ } s_smx_process_t; @@ -108,6 +109,9 @@ XBT_PRIVATE void SIMIX_process_sleep_destroy(smx_synchro_t synchro); XBT_PRIVATE void SIMIX_process_auto_restart_set(smx_process_t process, int auto_restart); XBT_PRIVATE smx_process_t SIMIX_process_restart(smx_process_t process, smx_process_t issuer); +void SIMIX_segment_index_set(smx_process_t, int); +extern void (*SMPI_switch_data_segment)(int); + SG_END_DECL() #endif