Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill xbt_dynar_dopar().
[simgrid.git] / src / xbt / xbt_rl_synchro.c
index 3ae9acb..c33b03e 100644 (file)
@@ -14,7 +14,6 @@
 #include "xbt/ex.h"
 #include "portable.h"
 
-#include "xbt/synchro.h"        /* This module */
 #include "xbt/xbt_os_thread.h"  /* The implementation we use */
 
 /* the implementation would be cleaner (and faster) with ELF symbol aliasing */
@@ -31,7 +30,7 @@ static void *xbt_thread_create_wrapper(void *p)
 {
   xbt_thread_t t = (xbt_thread_t) p;
   XBT_DEBUG("I'm thread %p", p);
-  (*t->code) (t->userparam);
+  t->code(t->userparam);
   return NULL;
 }