Information Technology Reference
In-Depth Information
program counter
...
x = y + z;
...
signal_handler() {
...
}
stack pointer
Signal Stack
stack:
Figure2.15: The state of the user program and signal handler before a UNIX
signal. UNIX signals behave analogously to hardware exceptions, but at user-
level.
program counter
...
x = y + z;
...
signal_handler() {
...
}
stack pointer
Signal Stack
stack:
PC
SP
saved
registers
Figure2.16: The state of the user program and signal handler during a UNIX
signal. UNIX signals behave analogously to hardware exceptions, but at user-
level.
 
Search WWH ::




Custom Search