From a453a5e831415fd88e602944c84f967e7eb8530b Mon Sep 17 00:00:00 2001 From: mquinson Date: Mon, 6 Aug 2007 16:29:03 +0000 Subject: [PATCH 1/1] As Arnaud said, one function to rule them all git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3993 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/xbt/xbt_sg_time.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.20.1