Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This commit concerned the reimplementation of the xbt context switch mechanism.
[simgrid.git] / src / xbt / xbt_main.c
index e1410b3..6023ad0 100644 (file)
@@ -37,7 +37,7 @@ xbt_init(int *argc, char **argv) {
   
   xbt_log_init(argc,argv);
   xbt_os_thread_mod_init();
-  xbt_context_init();
+  xbt_context_mod_init();
 }
 
 /** @brief Finalize the xbt mechanisms. */
@@ -47,7 +47,7 @@ xbt_exit(){
   if (xbt_initialized == 0) {
     xbt_fifo_exit();
     xbt_dict_exit();
-    xbt_context_exit();
+    xbt_context_mod_exit();
     xbt_os_thread_mod_exit();
     xbt_log_exit();
   }