On Tuesday 05 October 2004 11:41, Randall R Schulz wrote:
I wanted to know how to specify what the value of the signal was. I wanted to set SIGUSR1 to 100 and SIGUSR2 to 101, but ended up modifying the process to look for SIGUSR1 and SIGUSR2 and take the appropriate action.
That's not up to you. (Also, I'm not sure why you'd care what number was associated with a given signal name.) Signals are a kernel thing, and while all of them can be sent from one process to another, most of them are primarily generated by the kernel itself. Given that there are different default dispositions, consequences and side-effects of sending different signals, the kernel must assign the numberic value associated with each conceptual signal.
And that's what eventually hit me. I don't deal with signals too often. Like I said in an earlier post: brain fart. I just sent the SIGUSR1 to the other app and traped it's signal to do what we wanted to do. thanks, brian -- Brian Jackson Photo Sports ~ Editorial ~ People ~ Travel ~ Events http://www.BrianJacksonPhoto.com 650-218-5082