- DEBUG1("**[%p]** Going to jail ****",context);
- xbt_thcond_wait(context->cond, context->mutex);
- DEBUG1("**[%p]** Unlocking ****",context);
- xbt_mutex_unlock(context->mutex);
+ DEBUG4("**[ctx:%p;self:%p]** Going to jail on creation_cond/mutex (%p,%p) ****",
+ context,xbt_thread_self(),creation_cond, creation_mutex);
+ xbt_thcond_wait(creation_cond, creation_mutex);
+ DEBUG3("**[ctx:%p;self:%p]** Unlocking creation %p ****",context, xbt_thread_self(),creation_mutex);
+ xbt_mutex_unlock(creation_mutex);