* Using User-defined signals in OSF1 Dec Alpha
@ 1996-04-03 5:00 Robert Sandford
1996-04-05 5:00 ` Curt Smith
0 siblings, 1 reply; 2+ messages in thread
From: Robert Sandford @ 1996-04-03 5:00 UTC (permalink / raw)
From reading the man pages (signal.4) and looking at signal.h am I
limited to just TWO user-defined signals (SIGUSR1 & SIGUSR2) on our dec
alpha 2100 server that is running OSF1 ver 3.0.
Currently I am using both SIGUSR signals plus I am catching signals like
SIGINFO, SIGSYS, SIGWINCH, SIGCHLD, SIGURG and redfining there meaning.
Can you go above 31 signals or is bit-limited?
Thanks
Robert Sandford
System Admin/Manager Of Computing Resources
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Using User-defined signals in OSF1 Dec Alpha
1996-04-03 5:00 Using User-defined signals in OSF1 Dec Alpha Robert Sandford
@ 1996-04-05 5:00 ` Curt Smith
0 siblings, 0 replies; 2+ messages in thread
From: Curt Smith @ 1996-04-05 5:00 UTC (permalink / raw)
Robert Sandford (sandforr@mcnet.marietta.edu) wrote:
: From reading the man pages (signal.4) and looking at signal.h am I
: limited to just TWO user-defined signals (SIGUSR1 & SIGUSR2) on our dec
: alpha 2100 server that is running OSF1 ver 3.0.
:
: Currently I am using both SIGUSR signals plus I am catching signals like
: SIGINFO, SIGSYS, SIGWINCH, SIGCHLD, SIGURG and redfining there meaning.
: Can you go above 31 signals or is bit-limited?
Yes, there's 32 bit ints in many of the signal APIs.
It's my belief that some signals do not stack. It could be that
all signals don't stack depending on the signal catch type, POSIX
signal(), or BSD'ish sigaction(). The later is also called the
*reliable signals* API set. See, sigaction(), sigsuspend(),
sigprocmask() etc.
The above means if I'm correct about signals not stacking, is that
if your signal receiving task does not get the CPU, due to a busy system,
you your signal catcher function will only be called once.
A better IPC facility for state information is semaphores, or TCP/UDP
for state+data.
Curt Smith
curts@compgen.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-04-05 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-03 5:00 Using User-defined signals in OSF1 Dec Alpha Robert Sandford
1996-04-05 5:00 ` Curt Smith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox