-/* $Id$ */
-
/* gras.c -- generic functions not fitting anywhere else */
-/* Copyright (c) 2003, 2004 Martin Quinson. */
-/* All rights reserved. */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
void gras_exit(void)
{
gras_procdata_t *pd;
- if (gras_if_RL())
- INFO0("Exiting GRAS");
+ INFO0("Exiting GRAS");
amok_exit();
gras_moddata_leave();
pd = gras_procdata_get();
- gras_msg_listener_shutdown(pd->listener);
+ gras_msg_listener_shutdown();
gras_process_exit();
if (--gras_running_process == 0) {
gras_msg_exit();
gras_emul_exit();
gras_moddata_exit();
}
- xbt_exit();
}
const char *hexa_str(unsigned char *data, int size, int downside)