From: mquinson Date: Sat, 27 Oct 2007 18:01:23 +0000 (+0000) Subject: Damn it, we forgot to update the stubs, once again X-Git-Tag: v3.3~880 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/7aee0210f0feded0a8b2ac0b4d10ae894f5efe4b Damn it, we forgot to update the stubs, once again git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4922 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- 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){