Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 2004 17:26:30 +1200 (NZST)
From:      Koryn Grant <koryn@endace.com>
To:        Sean McNeil <sean@mcneil.com>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: kill(pid,0) sends a signal or not?
Message-ID:  <Pine.LNX.4.56.0406211725240.12063@prefect.et.endace.com>
In-Reply-To: <1087794678.46146.4.camel@server.mcneil.com>

index | next in thread | previous in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.56.0406211725240.12063>