#include "xbt.h" /* calloc, printf */
#include "simgrid_config.h" /* getline */
#include "instr/instr_private.h"
+void SIMIX_ctx_raw_factory_init(smx_context_factory_t *factory);
+
XBT_LOG_NEW_DEFAULT_CATEGORY(actions,
"Messages specific for this msg example");
{
MSG_error_t res = MSG_OK;
+ factory_initializer_to_use = SIMIX_ctx_raw_factory_init;
/* Check the given arguments */
MSG_global_init(&argc, argv);
if (argc < 3) {
void SIMIX_ctx_raw_factory_init(smx_context_factory_t *factory)
{
+ INFO0("Using raw contexts. Because the glibc is just not good enough for us.");
smx_ctx_base_factory_init(factory);
(*factory)->finalize = smx_ctx_raw_factory_finalize;