Re: Unixware 714 pthreads - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Unixware 714 pthreads
Date
Msg-id 3581.1098986156@sss.pgh.pa.us
Whole thread Raw
In response to Re: Unixware 714 pthreads  (ohp@pyrenet.fr)
Responses Re: Unixware 714 pthreads
Re: Unixware 714 pthreads
List pgsql-hackers
ohp@pyrenet.fr writes:
> On Thu, 28 Oct 2004, Tom Lane wrote:
>> 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.

No.  If your signal support is POSIX-compatible, it should not do that
because we don't set SA_RESETHAND when calling sigaction(2).  If you
don't have POSIX signals, you had better have BSD-style signal(2),
which doesn't reset either.  If this is not happening as expected,
you will have much worse problems than whether statement_timeout works :-(
        regards, tom lane


pgsql-hackers by date:

Previous
From: ohp@pyrenet.fr
Date:
Subject: Re: Unixware 714 pthreads
Next
From: ohp@pyrenet.fr
Date:
Subject: Re: Unixware 714 pthreads