X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5c4a15f9e0deda141e4563040b168cfd42967bc9..cd98d104c2725979df7e8ba9a69b858070ae20af:/src/simix/smx_context.cpp diff --git a/src/simix/smx_context.cpp b/src/simix/smx_context.cpp index eb1b2b76ad..85c6c0af15 100644 --- a/src/simix/smx_context.cpp +++ b/src/simix/smx_context.cpp @@ -110,16 +110,12 @@ void SIMIX_context_mod_init() context_factory_name = "raw"; } #endif -#if defined(__FreeBSD__) - if (xbt_cfg_get_string("smpi/privatization") == "mmap") { - xbt_cfg_set_string("smpi/privatization", "dlopen"); - } +#if defined(__FreeBSD__) if (context_factory_name == "thread" && xbt_cfg_get_string("smpi/privatization") != "no"){ XBT_WARN("mmap broken on FreeBSD, but dlopen+thread broken too. Switching to dlopen+raw contexts."); context_factory_name = "raw"; } - #endif /* select the context factory to use to create the contexts */