On Thu, 28 Oct 2004, Tom Lane wrote:
> Date: Thu, 28 Oct 2004 12:11:12 -0400
> From: Tom Lane <tgl@sss.pgh.pa.us>
> To: ohp@pyrenet.fr
> Cc: pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] Unixware 714 pthreads
>
> ohp@pyrenet.fr writes:
> > if i do it a second time in the same session, blockme() never returns
>
> > I wonder if handle_sig_alarm is re-armed after being used
>
> No. Why should the signal handler need re-arming?
My impression was that once caught, signal handler for a particular signal
is reset to SIG-DFL.
>
> > or if sleep is used anywhere in the backend.
>
> Nope.
>
> regards, tom lane
>
Oh well, bye bye htreads on unixware, I give up! (very disapointed)
cheers
--
Olivier PRENANT Tel: +33-5-61-50-97-00 (Work)
6, Chemin d'Harraud Turrou +33-5-61-50-97-01 (Fax)
31190 AUTERIVE +33-6-07-63-80-64 (GSM)
FRANCE Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)