Hans,
There are two major arena for signal, the SysV standard type, and the
extended signal (where sigaction is defined), re:
http://www.mcsr.olemiss.edu/cgi-bin/man-cgi?sigaction+2
Also, if you look at the header files in the linux distro of yours.
My problem (and why I used the offset into the buffer), was that the PID
wasn't where the structure and union declarations said it would be,
unless I wasn't packing correctly.
Hans Dulimarta wrote:
> Frank,
> You told me not to use the vInfo formal parameter
> of threadTerminated to get the PID of terminating thread.
> Do you know another way of obtaining this PID?
>
> I am also trying to use the third formal parameter (vPtr),
> but could not find the right documentation of sigaction
> that explain the use of this parameter in more detail.
>
> Could you or Christophe give me some direction?
>
|