From d9c2aa28e5d10813d53d9d4a06bef26910cc189c Mon Sep 17 00:00:00 2001 From: mquinson Date: Thu, 5 Jun 2008 10:03:14 +0000 Subject: [PATCH] damn ANSI C git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5541 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/xbt/xbt_context_thread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xbt/xbt_context_thread.c b/src/xbt/xbt_context_thread.c index 9173753b81..5a55df3244 100644 --- a/src/xbt/xbt_context_thread.c +++ b/src/xbt/xbt_context_thread.c @@ -284,10 +284,11 @@ static void xbt_ctx_thread_suspend(xbt_context_t context) static void xbt_ctx_thread_resume(xbt_context_t context) { - DEBUG1("Resume context '%s'",context->name); /* save the current context */ xbt_context_t self = current_context; + DEBUG1("Resume context '%s'",context->name); + /* update the current context */ current_context = context; -- 2.20.1