Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill the sbrk-based morecore: we'll never use less than two heaps when using mmalloc
[simgrid.git] / src / xbt / xbt_rl_synchro.c
index 3ae9acb..a0a855b 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;
 }