A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix sem_init testing.
[simgrid.git]
/
src
/
xbt
/
xbt_os_thread.c
diff --git
a/src/xbt/xbt_os_thread.c
b/src/xbt/xbt_os_thread.c
index
4fcb70c
..
10f8266
100644
(file)
--- 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;
thread_mod_inited = 1;
-#ifndef HAVE_SEM_
WA
IT
+#ifndef HAVE_SEM_
IN
IT
next_sem_ID_lock = xbt_os_mutex_init();
#endif
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;
free(main_thread);
main_thread = NULL;
thread_mod_inited = 0;
-#ifndef HAVE_SEM_
WA
IT
+#ifndef HAVE_SEM_
IN
IT
xbt_os_mutex_destroy(next_sem_ID_lock);
#endif
xbt_os_mutex_destroy(next_sem_ID_lock);
#endif