Re: Restartable signals 'n all that - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Restartable signals 'n all that
Date
Msg-id 20080826195412.GR4920@alvh.no-ip.org
Whole thread Raw
In response to Restartable signals 'n all that  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Restartable signals 'n all that  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:

> So we've got two problems: SA_RESTART is preventing some EINTRs from
> happening when we'd like, and yet it seems we are at risk of unwanted
> EINTRs anyway.
> 
> The only really clean solution I can see is to stop using SA_RESTART
> and try to make all our syscalls EINTR-proof.  But the probability
> of bugs-of-omission seems just about 100%, especially in third party
> backend add-ons that we don't get to review the code for.

Did we do anything about this?  I see we have it on TODO ...

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: "Brendan Jurd"
Date:
Subject: Re: Split up the wiki TODO page?
Next
From: Tom Lane
Date:
Subject: Re: Restartable signals 'n all that