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
Revert "A candidate patch to Github issue #15. Three problems related to TRACE might...
[simgrid.git]
/
src
/
msg
/
msg_process.c
diff --git
a/src/msg/msg_process.c
b/src/msg/msg_process.c
index 419e710c3519aa4df095cdb1d7e5dd3bc2bd92d2..44d3838ad813d04a58ae5f86bacec3ecfef61ba9 100644
(file)
--- a/
src/msg/msg_process.c
+++ b/
src/msg/msg_process.c
@@
-164,14
+164,12
@@
msg_process_t MSG_process_create_with_environment(const char *name,
simdata->data = data;
simdata->last_errno = MSG_OK;
simdata->data = data;
simdata->last_errno = MSG_OK;
- int future_simix_process_pid = SIMIX_process_get_maxpid();
- TRACE_msg_process_create(name, future_simix_process_pid, host);
-
/* Let's create the process: SIMIX may decide to start it right now,
* even before returning the flow control to us */
/* Let's create the process: SIMIX may decide to start it right now,
* even before returning the flow control to us */
-
simcall_process_create(&process, name, code, simdata, sg_host_name(host), -1,
+ simcall_process_create(&process, name, code, simdata, sg_host_name(host), -1,
argc, argv, properties,0);
argc, argv, properties,0);
- xbt_assert(future_simix_process_pid == SIMIX_process_get_PID(process));
+
+ TRACE_msg_process_create(name, SIMIX_process_get_PID(process), host);
if (!process) {
/* Undo everything we have just changed */
if (!process) {
/* Undo everything we have just changed */