Return TypeFunction nameArguments
voidFatal(hzChain&,)

Declared in file: hzProcess.h
Defined in file : hzError.cpp

Function Logic:

0:START 1:GetThreadInfo phz _hzGlobal_kill hzXDate::SysDateTime getpid pthread_self hzXDate::Year hzXDate::Month hzXDate::Day hzXDate::Hour hzXDate::Min hzXDate::Sec hzChain::Printf items GetThreadLogger pLog 2:!pLog 3:items 4:pLog->IsOpen() 5:hzLogger::Out 6:items 7:hzProcess::StackTrace exit 8: No text

Function body:

void Fatal (hzChain& error)
{
   hzChain     E ;
   hzXDate     d ;
   hzLogger*   pLog ;
    hzProcess*  phz ;
    phz = GetThreadInfo() ;
   _hzGlobal_kill = true ;
   d.SysDateTime() ;
   E.Printf("Fatal Error in process %05u (tid %u) at %04d%02d%02d-%02d%02d%02d -> ",
       getpid(), pthread_self(), d.Year(), d.Month(), d.Day(), d.Hour(), d.Min(), d.Sec()) ;
   E << error ;
   pLog = GetThreadLogger() ;
   if (!pLog)
       std::cerr << E ;
   else
   {
       if (pLog->IsOpen())
           pLog->Out(E) ;
       else
           std::cerr << E ;
   }
   phz->StackTrace() ;
   exit(0);
}