[comp.unix.wizards] Use of ssignal

rr@csuna.cs.uh.edu (Ravi Ramachandran) (03/14/90)

The man pages for ssignal & gsignal on Sys V are as succint as usual.
I tried looking up a few adv. Unix books, but none of them ever mention
ssignal. The way I have used it is to use ssignal to initialize the
software signal, and then use gsignal to raise it. But this seems more
like another version of using setjmp() or calling a procedure. Is there
any use for ssignal()? Can I use it between processes (I tried it & it
didn't seem to work)? I know the man pages says that the C compiler uses
it. But unless there is some way a parallel thread can send a signal,
it does not seem too useful.

Thanx for shedding any light (I SAID BUD LITE),
  --ravi-

gwyn@smoke.BRL.MIL (Doug Gwyn) (03/15/90)

In article <24199@uhnix1.uh.edu> rr@cs.uh.edu writes:
>Is there any use for ssignal()? Can I use it between processes ...?

While one can figure out ways to use ssignal/gsignal, they are not
essential.  Certainly they cannot be used for IPC, only within one
process.  I suggest never using them.