Sending Signals to a Process Group

I. Lee Hetherington ilh at sun-of-pooh.mit.edu
Sun Oct 21 04:13:40 AEST 1990


I'm trying to send a signal (STOP) via kill() to a process group which includes
the calling process.  However, I do not want the calling process to receive the
stop also.  I'm running under SunOS 4.1.

According to my man pages, specifying a negative group id when calling kill()
should do the trick but it doesn't work.  The calling process also gets stopped.

Any ideas short of searching through all of the processes for ones that belong
to the desired process group?

-------------------------------------------------------------------------------
Lee Hetherington
MIT Spoken Language Systems Group
-------------------------------------------------------------------------------



More information about the Comp.unix mailing list