A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
default value of start_time = -1.0. It enables to make the difference between at...
[simgrid.git]
/
src
/
msg
/
deployment.c
diff --git
a/src/msg/deployment.c
b/src/msg/deployment.c
index
a69db56
..
c159349
100644
(file)
--- a/
src/msg/deployment.c
+++ b/
src/msg/deployment.c
@@
-58,7
+58,7
@@
static void parse_process_finalize(void)
surf_timer_resource->extension_public->set(start_time, (void*) &MSG_process_create_with_arguments,
arg);
}
surf_timer_resource->extension_public->set(start_time, (void*) &MSG_process_create_with_arguments,
arg);
}
- if(
start_time==MSG_get_clock(
)) {
+ if(
(start_time<0) || (start_time==MSG_get_clock()
)) {
process = MSG_process_create_with_arguments(parse_argv[0], parse_code,
NULL, parse_host,
parse_argc,parse_argv);
process = MSG_process_create_with_arguments(parse_argv[0], parse_code,
NULL, parse_host,
parse_argc,parse_argv);