-XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(smx_context);
-
-typedef struct s_smx_ctx_sysv {
- SMX_CTX_BASE_T;
- ucontext_t uc; /* the thread that execute the code */
- char stack[STACK_SIZE]; /* the thread stack size */
- struct s_smx_ctx_sysv *prev; /* the previous process */
-#ifdef HAVE_VALGRIND_VALGRIND_H
- unsigned int valgrind_stack_id; /* the valgrind stack id */
-#endif
-} s_smx_ctx_sysv_t, *smx_ctx_sysv_t;
-
-
-/* callback: context fetching */
-static ex_ctx_t *xbt_jcontext_ex_ctx(void);
-
-/* callback: termination */
-static void xbt_jcontext_ex_terminate(xbt_ex_t *e);
-
-static smx_context_t smx_ctx_sysv_factory_create_context(xbt_main_func_t code);
-
-static int smx_ctx_sysv_factory_finalize(smx_context_factory_t *factory);
-
-static smx_context_t smx_ctx_sysv_factory_create_maestro_context(void);