X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8639295f6bedeb3c9e1a60a1056925c4fe892fa4..4bd1f48f0bf1ad1703be680ec2a38d626c6a2668:/src/xbt/xbt_os_synchro.cpp diff --git a/src/xbt/xbt_os_synchro.cpp b/src/xbt/xbt_os_synchro.cpp index d27ae6414a..748faa20c7 100644 --- a/src/xbt/xbt_os_synchro.cpp +++ b/src/xbt/xbt_os_synchro.cpp @@ -10,7 +10,6 @@ #include "xbt/synchro.h" #include "simgrid/simix.h" /* used implementation */ -#include "src/simix/smx_synchro_private.hpp" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_sync, xbt, "Synchronization mechanism"); @@ -32,7 +31,7 @@ int xbt_mutex_try_acquire(xbt_mutex_t mutex) void xbt_mutex_release(xbt_mutex_t mutex) { - ((smx_mutex_t)mutex)->unlock(SIMIX_process_self()); + simcall_mutex_unlock((smx_mutex_t)mutex); } void xbt_mutex_destroy(xbt_mutex_t mutex)