From b0d4f0b93e988553c814e169aec7fb5c422b3401 Mon Sep 17 00:00:00 2001 From: mquinson Date: Thu, 23 Jun 2005 14:36:43 +0000 Subject: [PATCH] reduce the amount of logging; don't exit the process until after its last use (in trp_exit) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1378 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/gras/gras.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gras/gras.c b/src/gras/gras.c index e176e320ae..138456fd6c 100644 --- a/src/gras/gras.c +++ b/src/gras/gras.c @@ -26,7 +26,7 @@ static int gras_running_process = 0; void gras_init(int *argc,char **argv, const char *defaultlog) { - INFO0("Initialize GRAS"); + VERB0("Initialize GRAS"); /* First initialize the XBT */ xbt_init_defaultlog(argc,argv,defaultlog); @@ -57,13 +57,13 @@ void gras_init(int *argc,char **argv, const char *defaultlog) { void gras_exit(void) { INFO0("Exiting GRAS"); - gras_process_exit(); if (--gras_running_process == 0) { gras_msg_exit(); gras_trp_exit(); gras_datadesc_exit(); gras_emul_exit(); } + gras_process_exit(); xbt_exit(); } -- 2.20.1