Rodney Lott <email@example.com> wrote:
I was wondering if there was any way to determine the pid of a process (say
prA) that raised a signal on another process (say prB). That is, what could
I do in prB’s signal handler to determine if prA sent me a signal or if it
was some other process ( ie. an OS process )?
I don’t think that information is available. In fact, I don’t think it
is even stored…and considering that if the signal was masked, it might
have been 3 different processes that raised the signal… it might not
even be valid.
QNX Training Services
Please followup in this newsgroup if you have further questions.