SimGrid
3.9
Versatile Simulation of Distributed Systems
|
Malloc and associated functions, killing the program on error (with Exception support) More...
Macros | |
#define | xbt_new(type, count) |
like calloc, but xbt_die() on error and don't memset to 0 | |
#define | xbt_new0(type, count) |
like calloc, but xbt_die() on error |
Functions | |
static | __attribute__ ((always_inline)) char *xbt_strdup(const char *s) |
Like strdup, but xbt_die() on error. | |
void | xbt_backtrace_display_current (void) |
show the backtrace of the current point (lovely while debuging) | |
void | xbt_free_ref (void *d) |
should be given a pointer to pointer, and frees the second one |
Malloc and associated functions, killing the program on error (with Exception support)
|
inlinestatic |
void xbt_backtrace_display_current | ( | void | ) |
show the backtrace of the current point (lovely while debuging)
Shows a backtrace of the current location.