question about UNIX Signal# Unix - 噫吁兮,危乎高哉
j*e
1 楼
I install a signal handler for a process.
The handler will catch all the signals except 9 and 23, and do nothing but
"print", and so on.
I found out that that: When the process receive the same signal for a second
time, the handler will not function anymore. And default action for that
signal will take effect.
I can't find any book mention such problem.
Is this a bug in my program, or it is the way that signal works?
The handler will catch all the signals except 9 and 23, and do nothing but
"print", and so on.
I found out that that: When the process receive the same signal for a second
time, the handler will not function anymore. And default action for that
signal will take effect.
I can't find any book mention such problem.
Is this a bug in my program, or it is the way that signal works?