From bceb4f5504d0048289b041926fb730e7e8d09c85 Mon Sep 17 00:00:00 2001 From: alegrand Date: Wed, 1 Dec 2010 13:36:15 +0000 Subject: [PATCH] Fix doc git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8806 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/simdag/sd_global.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/simdag/sd_global.c b/src/simdag/sd_global.c index d7c95965d4..1e5f521235 100644 --- a/src/simdag/sd_global.c +++ b/src/simdag/sd_global.c @@ -201,8 +201,11 @@ void SD_create_environment(const char *platform_file) * \brief Launches the simulation. * * The function will execute the \ref SD_RUNNABLE runnable tasks. - * The simulation will be stopped when its time reaches \a how_long, - * when a watch point is reached, or when no more task can be executed. + * If \a how_long is positive, then the simulation will be stopped either + * when time reaches \a how_long or when a watch point is reached. + * A nonpositive value for \a how_long means no time limit, in which case + * the simulation will be stopped either when a watch point is reached or + * when no more task can be executed. * Then you can call SD_simulate() again. * * \param how_long maximum duration of the simulation (a negative value means no time limit) -- 2.20.1