Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix the way to bypass the cpu_im without hard coding the model
[simgrid.git] / src / xbt / xbt_sg_stubs.c
index 6a86c13..b609c10 100644 (file)
@@ -71,30 +71,39 @@ void xbt_os_thread_yield(void)
 
 xbt_os_mutex_t xbt_os_mutex_init(void)
 {
+   /*
   xbt_backtrace_display_current();
   xbt_die
     ("No pthread in SG when compiled against the ucontext (xbt_os_mutex_init)");
+    */
+   return NULL;
 }
 
 void xbt_os_mutex_acquire(xbt_os_mutex_t mutex)
 {
+   /*
   xbt_backtrace_display_current();
   xbt_die
     ("No pthread in SG when compiled against the ucontext (xbt_os_mutex_acquire)");
+    */
 }
 
 void xbt_os_mutex_release(xbt_os_mutex_t mutex)
 {
+   /*
   xbt_backtrace_display_current();
   xbt_die
     ("No pthread in SG when compiled against the ucontext (xbt_os_mutex_release)");
+    */
 }
 
 void xbt_os_mutex_destroy(xbt_os_mutex_t mutex)
 {
+   /*
   xbt_backtrace_display_current();
   xbt_die
     ("No pthread in SG when compiled against the ucontext (xbt_os_mutex_destroy)");
+    */
 }
 
 xbt_os_cond_t xbt_os_cond_init(void)