What is sigcleanup?

Yoseff Francus francus at e2big.mko.dec.com
Tue Jan 29 09:08:01 AEST 1991


In article <119782 at uunet.UU.NET> rbj at uunet.UU.NET (Root Boy Jim) writes:
>In article <1991Jan22.153802.9869 at daimi.aau.dk> kaja at daimi.aau.dk (Kaja P. Christiansen) writes:
>>What is "sigcleanup" doing?
>

sigcleanup is called after the user written signal handler is finished.
A chmk $139 is done. This puts you into syscall(...) In syscall
there is an explicit check for 139 and a call to sigcleanup.
It resets the kernel stack so that you eventually return
to the point in you program where you made the system call which later
checked for pending signale which then dod the signal trampoline stuff
and so on. The above is completely true for a VAX, your mileage will
vary on other architectures.


-- 
In Xanadu did Kubla Khan
A stately pleasure dome decree
But only if the NFL 
To a franchise would agree

francus%metsny.mko.dec.com at decwrl.dec.com



More information about the Comp.unix.wizards mailing list