X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f707404e382a0c8d914c6b324cf05eb0ee896351..72b97973d4520d580ad2253c77935b86eedf3706:/src/smpi/private.h diff --git a/src/smpi/private.h b/src/smpi/private.h index bc36a1cf6e..cd4fdcb92f 100644 --- a/src/smpi/private.h +++ b/src/smpi/private.h @@ -180,6 +180,8 @@ smx_rdv_t smpi_process_mailbox(void); smx_rdv_t smpi_process_remote_mailbox(int index); smx_rdv_t smpi_process_mailbox_small(void); smx_rdv_t smpi_process_remote_mailbox_small(int index); +xbt_mutex_t smpi_process_mailboxes_mutex(void); +xbt_mutex_t smpi_process_remote_mailboxes_mutex(int index); xbt_os_timer_t smpi_process_timer(void); void smpi_process_simulated_start(void); double smpi_process_simulated_elapsed(void); @@ -447,8 +449,8 @@ int smpi_type_keyval_free(int* keyval); extern double smpi_cpu_threshold; extern double smpi_running_power; extern int smpi_privatize_global_variables; -extern char* start_data_exe; //start of the data+bss segment of the executable -extern int size_data_exe; //size of the data+bss segment of the executable +extern char* smpi_start_data_exe; //start of the data+bss segment of the executable +extern int smpi_size_data_exe; //size of the data+bss segment of the executable void smpi_switch_data_segment(int dest); @@ -768,10 +770,9 @@ const char* encode_datatype(MPI_Datatype datatype, int* known); typedef struct s_smpi_privatisation_region { void* address; int file_descriptor; -} *smpi_privatisation_region_t; +} s_smpi_privatisation_region_t, *smpi_privatisation_region_t; extern smpi_privatisation_region_t smpi_privatisation_regions; - extern int smpi_loaded_page; int SIMIX_process_get_PID(smx_process_t self);