X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/da2e6432ce1b2e6a3d01cbd0ba037e8f31a18550..64561039d3dec9e50b4eaf1b78b3edef71898383:/src/xbt/xbt_sg_synchro.c diff --git a/src/xbt/xbt_sg_synchro.c b/src/xbt/xbt_sg_synchro.c index 6e9b0aea54..ec377f65f8 100644 --- a/src/xbt/xbt_sg_synchro.c +++ b/src/xbt/xbt_sg_synchro.c @@ -63,10 +63,10 @@ xbt_thread_t xbt_thread_create(const char *name, void_f_pvoid_t code, res->code = code; res->father_data = SIMIX_process_self_get_data(); /* char*name = bprintf("%s#%p",SIMIX_process_self_get_name(), param); */ - res->s_process = SIMIX_req_process_create(name, - xbt_thread_create_wrapper, res, - SIMIX_host_self_get_name(), 0, NULL, - /*props */ NULL); + SIMIX_req_process_create(&res->s_process, name, + xbt_thread_create_wrapper, res, + SIMIX_host_self_get_name(), 0, NULL, + /*props */ NULL); res->joinable = joinable; res->done = 0; res->cond = xbt_cond_init();