🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.concurrent
2 messages
2 total messages Started by Daniel Joseph Burns Sun, 21 Oct 1990 19:44
Long jumps out of signal handlers
#62
Author: Daniel Joseph Burns
Date: Sun, 21 Oct 1990 19:44
14 lines
1208 bytes
Perhaps some of you Concurrent gurus can shed light on this problem of mine...

I have a signal handler (SIGUSR2) that long jumps back to my main program.
This works a fixed number of times, then it dies in sigvec.  Should I be doing
any special context cleanup before long jumping?  I suspect that my problem is
with the stack pointer.  Any help is appreciated.

--
Dan Burns
dan@seti.jpl.nasa.gov

Articles to: concurrent@soma.bcm.tmc.edu or uunet!soma.bcm.tmc.edu!concurrent
Administrative stuff: concurrent-request@soma.bcm.tmc.edu
Stan Barber, Moderator
Re: Long jumps out of signal handlers
#65
Author: Brian Bliss
Date: Thu, 01 Nov 1990 02:28
12 lines
1124 bytes
If you're on a sun, and using setjmp/longjmp, as opposed to
_setjmp/_longjmp, which don't save the signal mask, you shouldn't
have any problems (at least I don't).  are you using sigstack to
define an alternate signal stack, and forgetting to set the
ss_onstack field of the sigstack struct?

bb

Articles to: concurrent@soma.bcm.tmc.edu or uunet!soma.bcm.tmc.edu!concurrent
Administrative stuff: concurrent-request@soma.bcm.tmc.edu
Stan Barber, Moderator
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads