X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/644854da04d9a81108d71d707a6cff9f83bcee2b..7aee0210f0feded0a8b2ac0b4d10ae894f5efe4b:/src/xbt/xbt_os_thread_stubs.c diff --git a/src/xbt/xbt_os_thread_stubs.c b/src/xbt/xbt_os_thread_stubs.c index 745e63074b..ff7b61a7e1 100644 --- a/src/xbt/xbt_os_thread_stubs.c +++ b/src/xbt/xbt_os_thread_stubs.c @@ -56,14 +56,14 @@ xbt_os_mutex_t xbt_os_mutex_init(void){ xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_mutex_init)"); } -void xbt_os_mutex_lock(xbt_os_mutex_t mutex){ +void xbt_os_mutex_acquire(xbt_os_mutex_t mutex){ xbt_backtrace_display_current(); - xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_mutex_lock)"); + xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_mutex_acquire)"); } -void xbt_os_mutex_unlock(xbt_os_mutex_t mutex){ +void xbt_os_mutex_release(xbt_os_mutex_t mutex){ xbt_backtrace_display_current(); - xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_mutex_unlock)"); + xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_mutex_release)"); } void xbt_os_mutex_destroy(xbt_os_mutex_t mutex){