Re: Signals

Ian Main (imain@vcc.bc.ca)
Mon, 3 Feb 1997 13:57:10 -0800 (PST)


On Mon, 3 Feb 1997, Richard B. Johnson wrote:

> I don't know what POSIX says about this, but the included code snippet
> clearly shows that a signal handler using a negative number is allowed
> in the existing system. However, kill() with is negative number is NOT
> allowed. In other words, we can't ever use the signal handler that we've
> set up!!!
>
> If negative signals were allowed for user signals. We've got as many
> as we would ever need!

Sorry for my ignorance, but how difficult would it be to add new signals
to the linux kernel? SIGUSR3, SIGUSR4 etc.. ?

I have run into a few times when these would come in very handy (like the
program I'm working on now :)

Ian

<snipped nifty program>