Dear all :
the user process have the following code in the "main.c"
to catch the signal "SIGPROF" and "SIGVTALRM"
but the process is still killed by SIGVTALRM signal
Could anyone explain what is the reason maybe ?
Thanks in advance.
Richard_Lin
***********************************************
void catchalrm (int signo)
{
printf("\nCATCH SIGNAL: signo=%d\n",signo);
printf("CATCH RETURN\n");
}
******************main.c**********************
main()
{
..............
..............
act.sa_handler=catchalrm;
sigfillset(&(act.sa_mask));
sigaction(SIGPROF, &act,NULL);
sigaction(SIGVTALRM,&act,NULL);
sigaction(SIGALRM,&act,NULL);
...............
...............
}
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message