#include "xbt/ex.h"
-#include "xbt/synchro.h" /* This module */
-
#include "simgrid/simix.h" /* used implementation */
#include "../simix/smx_private.h" /* FIXME */
void *userparam;
void *father_data;
/* stuff to allow other people to wait on me with xbt_thread_join */
- int joinable:1, done:1;
+ unsigned joinable:1, done:1;
xbt_cond_t cond;
xbt_mutex_t mutex;
} s_xbt_thread_t;
/* char*name = bprintf("%s#%p",SIMIX_process_self_get_name(), param); */
simcall_process_create(&res->s_process, name,
xbt_thread_create_wrapper, res,
- SIMIX_host_self_get_name(), 0, NULL,
- /*props */ NULL);
+ SIMIX_host_self_get_name(), -1.0, 0, NULL,
+ /*props */ NULL,0);
res->joinable = joinable;
res->done = 0;
res->cond = xbt_cond_init();