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
Separate the dummy implementation of the backtraces into its own file (backtrace_dumm...
[simgrid.git]
/
src
/
xbt
/
xbt_main.c
diff --git
a/src/xbt/xbt_main.c
b/src/xbt/xbt_main.c
index
f16ad00
..
bba945c
100644
(file)
--- a/
src/xbt/xbt_main.c
+++ b/
src/xbt/xbt_main.c
@@
-35,9
+35,10
@@
xbt_init(int *argc, char **argv) {
srand((unsigned int)time(NULL));
VERB0("Initialize XBT");
srand((unsigned int)time(NULL));
VERB0("Initialize XBT");
+ xbt_backtrace_init();
xbt_log_init(argc,argv);
xbt_log_init(argc,argv);
- xbt_thread_mod_init();
- xbt_context_init();
+ xbt_
os_
thread_mod_init();
+ xbt_context_
mod_
init();
}
/** @brief Finalize the xbt mechanisms. */
}
/** @brief Finalize the xbt mechanisms. */
@@
-47,9
+48,10
@@
xbt_exit(){
if (xbt_initialized == 0) {
xbt_fifo_exit();
xbt_dict_exit();
if (xbt_initialized == 0) {
xbt_fifo_exit();
xbt_dict_exit();
- xbt_context_exit();
- xbt_thread_mod_exit();
+ xbt_context_
mod_
exit();
+ xbt_
os_
thread_mod_exit();
xbt_log_exit();
xbt_log_exit();
+ xbt_backtrace_exit();
}
if (xbt_initialized == 0)
}
if (xbt_initialized == 0)