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
Bugfix: the result of waitany calls should be determined by SIMIX_comm_finish
[simgrid.git]
/
src
/
simix
/
smx_process.c
diff --git
a/src/simix/smx_process.c
b/src/simix/smx_process.c
index
1fb254d
..
136a1f6
100644
(file)
--- a/
src/simix/smx_process.c
+++ b/
src/simix/smx_process.c
@@
-14,7
+14,7
@@
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_process, simix,
"Logging specific to SIMIX (process)");
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_process, simix,
"Logging specific to SIMIX (process)");
-
static
unsigned long simix_process_maxpid = 0;
+unsigned long simix_process_maxpid = 0;
/**
* \brief Returns the current agent.
/**
* \brief Returns the current agent.
@@
-245,6
+245,7
@@
void SIMIX_process_killall(void)
while ((p = xbt_swag_extract(simix_global->process_list)))
SIMIX_process_kill(p, SIMIX_process_self());
while ((p = xbt_swag_extract(simix_global->process_list)))
SIMIX_process_kill(p, SIMIX_process_self());
+ SIMIX_context_runall(simix_global->process_to_run);
SIMIX_process_empty_trash();
}
SIMIX_process_empty_trash();
}