]> AND Public Git Repository - simgrid.git/blobdiff - src/xbt/xbt_rl_synchro.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
s/MC_IS_ENABLED/MC_is_active()/ to remove an unfriendly pitfall of the codebase
[simgrid.git] / src / xbt / xbt_rl_synchro.c
index 3ae9acbcdd9731b08b641df54a56dd77ce5acd03..a0a855b5f6c09f15f387b37d6e30673bf974dcf4 100644 (file)
@@ -31,7 +31,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;
 }