X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/71c8117a9137c59bece62c17a3277fdccd362d0a..446516ef6cc8459883ad5b3a53cd724e24185c21:/src/simix/smx_context_sysv.c diff --git a/src/simix/smx_context_sysv.c b/src/simix/smx_context_sysv.c index 437db9f5d8..1dd8ff2aac 100644 --- a/src/simix/smx_context_sysv.c +++ b/src/simix/smx_context_sysv.c @@ -9,7 +9,7 @@ #include #include "xbt/parmap.h" -#include "simix/private.h" +#include "smx_private.h" #include "gras_config.h" #include "context_sysv_config.h" /* loads context system definitions */ @@ -52,7 +52,6 @@ smx_ctx_sysv_create_context_sized(size_t structure_size, void_pfn_smxprocess_t cleanup_func, void *data); static void smx_ctx_sysv_free(smx_context_t context); -static smx_context_t smx_ctx_sysv_self_parallel(void); static smx_context_t smx_ctx_sysv_create_context(xbt_main_func_t code, int argc, char **argv, void_pfn_smxprocess_t cleanup_func, void* data); @@ -96,7 +95,7 @@ void SIMIX_ctx_sysv_factory_init(smx_context_factory_t *factory) (*factory)->name = "smx_sysv_context_factory"; if (SIMIX_context_is_parallel()) { -#ifdef CONTEXT_THREADS /* To use parallel ucontexts a thread pool is needed */ +#ifdef CONTEXT_THREADS /* To use parallel ucontexts a thread pool is needed */ int nthreads = SIMIX_context_get_nthreads(); sysv_parmap = xbt_parmap_new(nthreads, SIMIX_context_get_parallel_mode()); sysv_workers_stacks = xbt_new(ucontext_t, nthreads);