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
The change Arnaud wanted so much: Big Star Eradication (plus some more, check the...
[simgrid.git]
/
src
/
xbt
/
error.c
diff --git
a/src/xbt/error.c
b/src/xbt/error.c
index
fa12a0a
..
9cf52d5
100644
(file)
--- a/
src/xbt/error.c
+++ b/
src/xbt/error.c
@@
-34,3
+34,11
@@
const char *gras_error_name(gras_error_t errcode) {
}
}
+GRAS_LOG_EXTERNAL_CATEGORY(gras);
+GRAS_LOG_DEFAULT_CATEGORY(gras);
+
+void gras_die (const char *msg) {
+ CRITICAL1("%s",msg);
+ gras_abort();
+}
+