Re: Removing select(2) based latch (was Unportable implementation of background worker start)

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Removing select(2) based latch (was Unportable implementation of background worker start)
Date: 2017-04-23 23:13:08
Message-ID: 20170423231307.u4krbooolkwaowzu@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2017-04-20 17:27:42 -0400, Tom Lane wrote:
> In short: yeah, let's nuke the WAIT_USE_SELECT implementation.
> It's dead code and it's unlikely to get resurrected.

Done.

> BTW, noting that SUSv2 specifies <poll.h> not <sys/poll.h>, I wonder
> whether we couldn't drop configure's test for the latter along with
> the
>
> #ifdef HAVE_SYS_POLL_H
> #include <sys/poll.h>
> #endif
>
> stanzas we have in a couple of places. But that's a separate issue.

Done, too, in a separate commit.

- Andres

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2017-04-23 23:25:04 Re: StandbyRecoverPreparedTransactions recovers subtrans links incorrectly
Previous Message Andres Freund 2017-04-23 22:57:51 Re: valgrind error in subscription code