示例#1
0
文件: afd_stat.c 项目: hfs/afd
/*++++++++++++++++++++++++++++++ sig_bus() ++++++++++++++++++++++++++++++*/
static void
sig_bus(int signo)
{
   system_log(FATAL_SIGN, __FILE__, __LINE__, "Uuurrrggh! Received SIGBUS.");
   stat_exit();

   /* Dump core so we know what happened. */
   abort();
}
示例#2
0
文件: afd_stat.c 项目: hfs/afd
/*++++++++++++++++++++++++++++++ sig_segv() +++++++++++++++++++++++++++++*/
static void                                                                
sig_segv(int signo)
{                  
   system_log(FATAL_SIGN, __FILE__, __LINE__, "Aaarrrggh! Received SIGSEGV.");
   stat_exit();

   /* Dump core so we know what happened. */
   abort();
}
示例#3
0
文件: Storage.c 项目: LeapYear/ghc
void
exitStorage (void)
{
    updateNurseriesStats();
    stat_exit();
}
示例#4
0
文件: Storage.c 项目: Eufavn/ghc
void
exitStorage (void)
{
    lnat allocated = updateNurseriesStats();
    stat_exit(allocated);
}
示例#5
0
文件: Storage.c 项目: Sciumo/ghc
void
exitStorage (void)
{
    stat_exit(calcAllocated(rtsTrue));
}