X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/94974c282c6e6d096238716853bb053330170d76..446516ef6cc8459883ad5b3a53cd724e24185c21:/src/simix/smx_synchro_private.h diff --git a/src/simix/smx_synchro_private.h b/src/simix/smx_synchro_private.h index a820073e9f..f3ec15c14b 100644 --- a/src/simix/smx_synchro_private.h +++ b/src/simix/smx_synchro_private.h @@ -21,28 +21,28 @@ typedef struct s_smx_sem { } s_smx_sem_t; void SIMIX_post_synchro(smx_action_t action); -void SIMIX_synchro_stop_waiting(smx_process_t process, smx_req_t req); +void SIMIX_synchro_stop_waiting(smx_process_t process, smx_simcall_t simcall); void SIMIX_synchro_destroy(smx_action_t action); smx_mutex_t SIMIX_mutex_init(void); void SIMIX_mutex_destroy(smx_mutex_t mutex); -void SIMIX_pre_mutex_lock(smx_req_t req); +void SIMIX_pre_mutex_lock(smx_simcall_t simcall); int SIMIX_mutex_trylock(smx_mutex_t mutex, smx_process_t issuer); void SIMIX_mutex_unlock(smx_mutex_t mutex, smx_process_t issuer); smx_cond_t SIMIX_cond_init(void); void SIMIX_cond_destroy(smx_cond_t cond); void SIMIX_cond_signal(smx_cond_t cond); -void SIMIX_pre_cond_wait(smx_req_t req); -void SIMIX_pre_cond_wait_timeout(smx_req_t req); +void SIMIX_pre_cond_wait(smx_simcall_t simcall); +void SIMIX_pre_cond_wait_timeout(smx_simcall_t simcall); void SIMIX_cond_broadcast(smx_cond_t cond); smx_sem_t SIMIX_sem_init(unsigned int value); void SIMIX_sem_destroy(smx_sem_t sem); void SIMIX_sem_release(smx_sem_t sem); int SIMIX_sem_would_block(smx_sem_t sem); -void SIMIX_pre_sem_acquire(smx_req_t req); -void SIMIX_pre_sem_acquire_timeout(smx_req_t req); +void SIMIX_pre_sem_acquire(smx_simcall_t simcall); +void SIMIX_pre_sem_acquire_timeout(smx_simcall_t simcall); int SIMIX_sem_get_capacity(smx_sem_t sem); #endif