From: mquinson Date: Thu, 23 Jun 2005 14:36:43 +0000 (+0000) Subject: reduce the amount of logging; don't exit the process until after its last use (in... X-Git-Tag: v3.3~3977 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b0d4f0b93e988553c814e169aec7fb5c422b3401?hp=2479b96521c45f40637d8e4482c301b677266443 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 --- 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(); }