Quoting Joey Schulze <[EMAIL PROTECTED]>:

> Timothy Baldwin wrote:
> > Package: manpages-dev
> > Version: 2.79-2
> > Severity: normal
> >
> > The manpage for raise, incorrectly describes it as sending a signal to the
> current process;
> > infact it sends the signal to the calling thread. Therefore the statement
> that  raise(sig) is
> > equivalent to kill(getpid(), sig) is false.
>
> Do you have a proof for this claim?

In terms of specified behaviour, I refer you to POSIX:
http://www.opengroup.org/onlinepubs/009695399/functions/raise.html

The Glibc manual is also in error.

In terms of actual behaviour, I have observed this behaviour whilst developing a
program which uses signals inter-thread communication. I am unable to supply a
test case at this moment due to a hardware failure on my Linux system.





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to