summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ae4fc52)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9114
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
#include "xbt.h" /* calloc, printf */
#include "simgrid_config.h" /* getline */
#include "instr/instr_private.h"
#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");
XBT_LOG_NEW_DEFAULT_CATEGORY(actions,
"Messages specific for this msg example");
{
MSG_error_t res = MSG_OK;
{
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) {
/* Check the given arguments */
MSG_global_init(&argc, argv);
if (argc < 3) {
void SIMIX_ctx_raw_factory_init(smx_context_factory_t *factory)
{
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;
smx_ctx_base_factory_init(factory);
(*factory)->finalize = smx_ctx_raw_factory_finalize;