git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3334
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
static void *
__context_wrapper(void* c) {
static void *
__context_wrapper(void* c) {
- xbt_context_t context = (xbt_context_t) current_context;
+ xbt_context_t context = current_context;
+ context = (xbt_context_t)c;
context->thread = xbt_thread_self();
DEBUG3("**[ctx:%p;self:%p]** Lock creation_mutex %p ****",context,(void*)xbt_thread_self(), creation_mutex);
context->thread = xbt_thread_self();
DEBUG3("**[ctx:%p;self:%p]** Lock creation_mutex %p ****",context,(void*)xbt_thread_self(), creation_mutex);