From: alegrand Date: Thu, 11 Jan 2007 21:42:21 +0000 (+0000) Subject: bug fix in the Paje traces. Unfortunately, it does not fix the weird X-Git-Tag: v3.3~2310 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/bac1c8bce07d108db608d49ade81a19195591329 bug fix in the Paje traces. Unfortunately, it does not fix the weird push/pop issue. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3049 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/msg/m_process.c b/src/msg/m_process.c index 06f85c3810..f9bee25f0c 100644 --- a/src/msg/m_process.c +++ b/src/msg/m_process.c @@ -493,6 +493,8 @@ int __MSG_process_block(double max_duration, const char *info) DEBUG0("I've been resumed, let's keep going"); } + PAJE_PROCESS_POP_STATE(process); + XBT_OUT; return 1; } @@ -519,8 +521,6 @@ MSG_error_t __MSG_process_unblock(m_process_t process) surf_workstation_resource->common_public->resume(simdata_task->compute); - PAJE_PROCESS_POP_STATE(process); - XBT_OUT; MSG_RETURN(MSG_OK);