X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/544e6fac3fc91ae81d5daa4481562240c2cb2467..4cd03d236d21b16b2607d67b146cc44b402e7bdd:/src/simix/smx_synchro_private.h diff --git a/src/simix/smx_synchro_private.h b/src/simix/smx_synchro_private.h index 7faa04904f..06bd94b76f 100644 --- a/src/simix/smx_synchro_private.h +++ b/src/simix/smx_synchro_private.h @@ -26,12 +26,12 @@ public: Mutex(Mutex const&) = delete; Mutex& operator=(Mutex const&) = delete; - void lock(smx_process_t issuer); - bool try_lock(smx_process_t issuer); - void unlock(smx_process_t issuer); + void lock(smx_actor_t issuer); + bool try_lock(smx_actor_t issuer); + void unlock(smx_actor_t issuer); bool locked = false; - smx_process_t owner = nullptr; + smx_actor_t owner = nullptr; // List of sleeping processes: xbt_swag_t sleeping = nullptr; @@ -76,7 +76,7 @@ typedef struct s_smx_sem { } s_smx_sem_t; XBT_PRIVATE void SIMIX_post_synchro(smx_activity_t synchro); -XBT_PRIVATE void SIMIX_synchro_stop_waiting(smx_process_t process, smx_simcall_t simcall); +XBT_PRIVATE void SIMIX_synchro_stop_waiting(smx_actor_t process, smx_simcall_t simcall); XBT_PRIVATE void SIMIX_synchro_destroy(smx_activity_t synchro); XBT_PRIVATE void SIMIX_synchro_finish(smx_activity_t synchro);