kill(pid,0) sends a signal or not?

Koryn Grant koryn at endace.com
Mon Jun 21 05:29:03 GMT 2004


On Sun, 20 Jun 2004, Sean McNeil wrote:

> Any info on how threads are suppose to behave when a process does a
> kill(pid,0) would be greatly appreciated.

The Single Unix Specification speaks thusly about kill():

"If sig is 0 (the null signal), error checking is performed but no signal is
actually sent. The null signal can be used to check the validity of pid."

Cheers,
Koryn


More information about the freebsd-threads mailing list