X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/47801f582a7b05f4cd4680f96fb44316fe4e7a89..b9e946cdde00d87529a22bd6e152357d8e71e935:/src/xbt/xbt_sg_time.c diff --git a/src/xbt/xbt_sg_time.c b/src/xbt/xbt_sg_time.c index b933c1f320..8c820d932b 100644 --- a/src/xbt/xbt_sg_time.c +++ b/src/xbt/xbt_sg_time.c @@ -32,7 +32,6 @@ void xbt_sleep(double sec) { /* create conditional and register action to it */ cond = SIMIX_cond_init(); - SIMIX_register_condition_to_action(act_sleep, cond); SIMIX_register_action_to_condition(act_sleep, cond); SIMIX_cond_wait(cond,mutex); SIMIX_mutex_unlock(mutex);