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
Intercept exit() to avoid killing simulations too early, as the first process exits.
[simgrid.git]
/
include
/
smpi
/
smpi_helpers.h
diff --git
a/include/smpi/smpi_helpers.h
b/include/smpi/smpi_helpers.h
index
ef7492d
..
8ecd7f5
100644
(file)
--- a/
include/smpi/smpi_helpers.h
+++ b/
include/smpi/smpi_helpers.h
@@
-38,4
+38,6
@@
#define realloc(x, y) smpi_shared_realloc_intercept((x), (y), __FILE__, __LINE__)
#define free(x) smpi_shared_free(x)
#endif
+
+#define exit(x) smpi_exit(x)
#endif