Malloc and associated functions, killing the program on error (with Exception support (C++))
◆ xbt_free
like free
- Examples:
- examples/msg/actions-comm/actions-comm.c, examples/msg/actions-storage/actions-storage.c, examples/msg/app-pingpong/app-pingpong.c, examples/msg/async-waitall/async-waitall.c, examples/msg/async-waitany/async-waitany.c, examples/msg/dht-chord/dht-chord.c, examples/msg/io-storage/io-storage.c, examples/msg/network-ns3/network-ns3.c, examples/s4u/actions-comm/s4u_actions-comm.cpp, examples/s4u/actions-storage/s4u_actions-storage.cpp, examples/s4u/actor-create/s4u_actor-create.cpp, examples/s4u/app-masterworker/s4u_app-masterworker.cpp, and examples/s4u/app-token-ring/s4u_app-token-ring.cpp.
◆ xbt_new
◆ xbt_new0
◆ xbt_strdup()
◆ xbt_backtrace_display_current()
void xbt_backtrace_display_current |
( |
| ) |
|
show the backtrace of the current point (lovely while debugging)
Shows a backtrace of the current location.
◆ xbt_malloc()
◆ xbt_malloc0()
like malloc, but xbt_die() on error and memset data to 0
◆ xbt_realloc()
◆ xbt_free_f()
like free, but you can be sure that it is a function
◆ xbt_free_ref()