[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: solaris and kill(pid, 0)
From: |
Christian Hopp |
Subject: |
Re: solaris and kill(pid, 0) |
Date: |
Wed, 23 Oct 2002 12:30:36 +0200 (CEST) |
On 23 Oct 2002, Jan-Henrik Haukeland wrote:
> Jan-Henrik Haukeland <address@hidden> writes:
>
> > [1] Aha, maybe the kill(0) signal on Solaris wakes up the monit
> > daemon in it's sleep phase. This sounds plausible and then you will
> > have a race condition on which thread sets errno. One soulution
> > could be to mask out the 0 signal if possible at all in a signal(0,
> > SIG_IGN) ?
>
> I think I'm on to something here :) Check out if Solaris has a kill_r
> function you could use instead. If exist, the signature should look
> something like 'int kill_r(int pid, int sig,. int *error)'
nope.
grep didn't find anything in /usr/include and neither does ld.
Christian
--
Christian Hopp email: address@hidden
Institut für Elektrische Informationstechnik fon: +49-5323-72-2113
Technische Universität Clausthal fax: +49-5323-72-3197
pgpkey: https://www.iei.tu-clausthal.de/pgp-keys/chopp.key.asc (2001-11-22)
- solaris and kill(pid, 0), Christian Hopp, 2002/10/23
- Re: solaris and kill(pid, 0), Oliver Jehle, 2002/10/23
- Re: solaris and kill(pid, 0), Jan-Henrik Haukeland, 2002/10/23
- Re: solaris and kill(pid, 0), Christian Hopp, 2002/10/23
- Re: solaris and kill(pid, 0), Christian Hopp, 2002/10/23
- Re: solaris and kill(pid, 0), Jan-Henrik Haukeland, 2002/10/23
- Re: solaris and kill(pid, 0), Oliver Jehle, 2002/10/23
- Re: solaris and kill(pid, 0), Oliver Jehle, 2002/10/23
- Re: solaris and kill(pid, 0), Jan-Henrik Haukeland, 2002/10/23