Re: kqueue
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2016-04-21T18:15:53Z
Lists: pgsql-hackers
On Tue, Mar 29, 2016 at 7:53 PM, Thomas Munro <thomas.munro@enterprisedb.com> wrote: > On the WaitEventSet thread I posted a small patch to add kqueue > support[1]. Since then I peeked at how some other software[2] > interacts with kqueue and discovered that there are platforms > including NetBSD where kevent.udata is an intptr_t instead of a void > *. Here's a version which should compile there. Would any NetBSD > user be interested in testing this? (An alternative would be to make > configure to test for this with some kind of AC_COMPILE_IFELSE > incantation but the steamroller cast is simpler.) Did you code this up blind or do you have a NetBSD machine yourself? -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Commits
-
Add kqueue(2) support to the WaitEventSet API.
- 815c2f0972c8 13.0 landed
-
Add WL_EXIT_ON_PM_DEATH pseudo-event.
- cfdf4dc4fc96 12.0 cited
-
Be conservative about alignment requirements of struct epoll_event.
- a3b30763cc86 9.6.0 cited
-
Make idle backends exit if the postmaster dies.
- ac1d7945f866 9.6.0 cited