Lines Matching refs:Signal
93 int Signal; member
256 if ((bSetSEGVHandler || Signals[i].Signal != SIGSEGV) in InitSignal()
257 && (bSetWINCHHandler || Signals[i].Signal != SIGWINCH) in InitSignal()
258 && (bSetILLHandler || Signals[i].Signal != SIGILL)) in InitSignal()
270 if (sigaction(Signals[i].Signal, &ign, &oact) == 0) in InitSignal()
276 if (sigaction(Signals[i].Signal, &act, &oact) == 0) in InitSignal()
311 sigaction(Signals[i].Signal, &act, NULL); in DeInitSignal()
486 static int ReportCrash( int Signal ) in ReportCrash() argument
556 if (Signals[i].Signal == Signal && Signals[i].Action == ACT_ABORT ) in ReportCrash()
758 Signal, in ReportCrash()
768 Signal, in ReportCrash()
776 getpid(), Signal, bAutoCrashReport ? " -send" : "" ); in ReportCrash()
810 (void) Signal; // avoid warnings in ReportCrash()
852 void CallSystemHandler(int Signal) in CallSystemHandler() argument
859 if (Signals[i].Signal == Signal) in CallSystemHandler()
878 ReportCrash( Signal ); in CallSystemHandler()
883 PrintStack( Signal ); in CallSystemHandler()
895 (*Signals[i].Handler)(Signal); in CallSystemHandler()
903 void SignalHandlerFunction(int Signal) in SignalHandlerFunction() argument
908 Info.UserSignal = Signal; in SignalHandlerFunction()
911 switch (Signal) in SignalHandlerFunction()
920 Info.Signal = osl_Signal_AccessViolation; in SignalHandlerFunction()
924 Info.Signal = osl_Signal_IntegerDivideByZero; in SignalHandlerFunction()
928 Info.Signal = osl_Signal_FloatDivideByZero; in SignalHandlerFunction()
935 Info.Signal = osl_Signal_Terminate; in SignalHandlerFunction()
939 Info.Signal = osl_Signal_System; in SignalHandlerFunction()
943 ReportCrash( Signal ); in SignalHandlerFunction()
946 if (bDoHardKill && (Info.Signal == osl_Signal_AccessViolation)) in SignalHandlerFunction()
954 CallSystemHandler(Signal); in SignalHandlerFunction()
958 ReportCrash( Signal ); in SignalHandlerFunction()
963 PrintStack( Signal ); in SignalHandlerFunction()
1069 Info.Signal = osl_Signal_User; in osl_raiseSignal()