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
Add a simcall for process_on_exit
[simgrid.git]
/
src
/
msg
/
msg_process.c
diff --git
a/src/msg/msg_process.c
b/src/msg/msg_process.c
index
a37cc6b
..
5d3c7d4
100644
(file)
--- a/
src/msg/msg_process.c
+++ b/
src/msg/msg_process.c
@@
-191,7
+191,7
@@
m_process_t MSG_process_create_with_environment(const char *name,
}
else {
#ifdef HAVE_TRACING
}
else {
#ifdef HAVE_TRACING
-
SIMIX
_process_on_exit(process,(int_f_pvoid_t)TRACE_msg_process_kill,MSG_process_self());
+
simcall
_process_on_exit(process,(int_f_pvoid_t)TRACE_msg_process_kill,MSG_process_self());
#endif
}
return process;
#endif
}
return process;
@@
-486,5
+486,5
@@
smx_context_t MSG_process_get_smx_ctx(m_process_t process) {
* You should use them to free the data used by your process.
*/
void MSG_process_on_exit(int_f_pvoid_t fun, void *data) {
* You should use them to free the data used by your process.
*/
void MSG_process_on_exit(int_f_pvoid_t fun, void *data) {
-
SIMIX
_process_on_exit(MSG_process_self(),fun,data);
+
simcall
_process_on_exit(MSG_process_self(),fun,data);
}
}