From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f240338e525cb146 X-Google-Attributes: gidfee84,public From: curts@compgen.com (Curt Smith) Subject: Re: Using User-defined signals in OSF1 Dec Alpha Date: 1996/04/05 Message-ID: <4k361n$sja@nntp.atlanta.com>#1/1 X-Deja-AN: 145942437 references: organization: Internet Atlanta newsgroups: comp.unix.osf.osf1 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