summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bfe9891)
It was always disabled because the test program had missing arguments to sem_init().
Also the macros HAVE_SEM_INIT and HAVE_SEM_WAIT where mixed up.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8742
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
void main(void)
{
sem_t s;
void main(void)
{
sem_t s;
next_sem_ID_lock = xbt_os_mutex_init();
#endif
next_sem_ID_lock = xbt_os_mutex_init();
#endif
free(main_thread);
main_thread = NULL;
thread_mod_inited = 0;
free(main_thread);
main_thread = NULL;
thread_mod_inited = 0;
xbt_os_mutex_destroy(next_sem_ID_lock);
#endif
xbt_os_mutex_destroy(next_sem_ID_lock);
#endif