- *factory = xbt_new0(s_xbt_context_factory_t, 1);
-
- (*factory)->create_context = xbt_ctx_thread_factory_create_context;
- (*factory)->finalize = xbt_ctx_thread_factory_finalize;
- (*factory)->create_maestro_context = xbt_ctx_thread_factory_create_master_context;
- (*factory)->free = xbt_ctx_thread_free;
- (*factory)->kill = xbt_ctx_thread_kill;
- (*factory)->schedule = xbt_ctx_thread_schedule;
- (*factory)->yield = xbt_ctx_thread_yield;
- (*factory)->start = xbt_ctx_thread_start;
- (*factory)->stop = xbt_ctx_thread_stop;
+ *factory = xbt_new0(s_smx_context_factory_t, 1);
+
+ (*factory)->create_context = smx_ctx_thread_factory_create_context;
+ (*factory)->finalize = smx_ctx_thread_factory_finalize;
+ (*factory)->create_maestro_context = smx_ctx_thread_factory_create_master_context;
+ (*factory)->free = smx_ctx_thread_free;
+ (*factory)->kill = smx_ctx_thread_kill;
+ (*factory)->schedule = smx_ctx_thread_schedule;
+ (*factory)->yield = smx_ctx_thread_yield;
+ (*factory)->start = smx_ctx_thread_start;
+ (*factory)->stop = smx_ctx_thread_stop;