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
Sanitize the XBT log chans, too. Arnaud did so for MSG+SURF, I did so for AMOK+GRAS...
[simgrid.git]
/
src
/
xbt
/
context.c
diff --git
a/src/xbt/context.c
b/src/xbt/context.c
index
fd3c271
..
6ea5172
100644
(file)
--- a/
src/xbt/context.c
+++ b/
src/xbt/context.c
@@
-15,7
+15,7
@@
#include "xbt/dynar.h"
#include "gras_config.h"
#include "xbt/dynar.h"
#include "gras_config.h"
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(
context
, xbt, "Context");
+XBT_LOG_NEW_DEFAULT_SUBCATEGORY(
xbt_ctx
, xbt, "Context");
#define VOIRP(expr) DEBUG1(" {" #expr " = %p }", expr)
#define VOIRP(expr) DEBUG1(" {" #expr " = %p }", expr)
@@
-175,7
+175,13
@@
static ex_ctx_t *__context_ex_ctx(void)
static void __context_ex_terminate(xbt_ex_t *e) {
xbt_ex_display(e);
static void __context_ex_terminate(xbt_ex_t *e) {
xbt_ex_display(e);
- __context_exit(current_context, e->value);
+ abort();
+ /* FIXME: there should be a configuration variable to choose this
+ if(current_context!=init_context)
+ __context_exit(current_context, e->value);
+ else
+ abort();
+ */
}
/** \name Functions
}
/** \name Functions