X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bfe98911a4c3fa925c1ef59b08259295642f9d9f..88e507ca6ecc4ca606c87dcbdb22dd9baea37b4c:/src/xbt/xbt_os_thread.c?ds=sidebyside diff --git a/src/xbt/xbt_os_thread.c b/src/xbt/xbt_os_thread.c index 4fcb70cdd9..10f8266ee2 100644 --- a/src/xbt/xbt_os_thread.c +++ b/src/xbt/xbt_os_thread.c @@ -95,7 +95,7 @@ void xbt_os_thread_mod_preinit(void) thread_mod_inited = 1; -#ifndef HAVE_SEM_WAIT +#ifndef HAVE_SEM_INIT next_sem_ID_lock = xbt_os_mutex_init(); #endif @@ -113,7 +113,7 @@ void xbt_os_thread_mod_postexit(void) free(main_thread); main_thread = NULL; thread_mod_inited = 0; -#ifndef HAVE_SEM_WAIT +#ifndef HAVE_SEM_INIT xbt_os_mutex_destroy(next_sem_ID_lock); #endif