예제 #1
0
파일: xbt_main.c 프로젝트: Shurakai/SimGrid
static void xbt_postexit(void)
{
  xbt_backtrace_postexit();
  xbt_fifo_postexit();
  xbt_dict_postexit();
  xbt_os_thread_mod_postexit();
  xbt_dynar_free(&xbt_cmdline);
  xbt_log_postexit();
  free(xbt_binary_name);
#ifdef MMALLOC_WANT_OVERRIDE_LEGACY
  mmalloc_postexit();
#endif
}
예제 #2
0
static void xbt_postexit(void)
{
  if(!_sg_do_clean_atexit) return;
  xbt_initialized--;
  xbt_backtrace_postexit();
  xbt_fifo_postexit();
  xbt_dict_postexit();
  xbt_os_thread_mod_postexit();
  xbt_dynar_free(&xbt_cmdline);
  xbt_log_postexit();
  free(xbt_binary_name);
#if HAVE_MC
  mmalloc_postexit();
#endif
}