![]() |
The ROme OpTimistic Simulator
3.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
|
Memory management functions for messages. More...
#include <mm/msg_allocator.h>
#include <core/core.h>
#include <datatypes/array.h>
#include <gvt/gvt.h>
Go to the source code of this file.
Functions | |
static __thread | dyn_array (struct lp_msg *) |
void | msg_allocator_init (void) |
void | msg_allocator_fini (void) |
struct lp_msg * | msg_allocator_alloc (unsigned payload_size) |
void | msg_allocator_free (struct lp_msg *msg) |
void | msg_allocator_free_at_gvt (struct lp_msg *msg) |
void | msg_allocator_fossil_collect (simtime_t current_gvt) |
struct lp_msg * | msg_allocator_pack (lp_id_t receiver, simtime_t timestamp, unsigned event_type, const void *payload, unsigned payload_size) |
Memory management functions for messages.
Memory management functions for messages
Definition in file msg_allocator.c.