Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: curts@compgen.com (Curt Smith)
Subject: Re: Using User-defined signals in OSF1 Dec Alpha
Date: 1996/04/05	[thread overview]
Message-ID: <4k361n$sja@nntp.atlanta.com> (raw)
In-Reply-To: slrn44m5631.lhr.sandforr@mcnet.marietta.edu

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




      reply	other threads:[~1996-04-05  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-03  5:00 Using User-defined signals in OSF1 Dec Alpha Robert Sandford
1996-04-05  5:00 ` Curt Smith [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox