Re: Cygwin cleanup
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: Justin Pryzby <pryzby@telsasoft.com>
Cc: vignesh C <vignesh21@gmail.com>, pgsql-hackers@lists.postgresql.org, Andrew Dunstan <andrew@dunslane.net>, Tom Lane <tgl@sss.pgh.pa.us>, Andres Freund <andres@anarazel.de>
Date: 2023-01-05T12:22:52Z
Lists: pgsql-hackers
On Wed, Jan 4, 2023 at 3:25 AM Justin Pryzby <pryzby@telsasoft.com> wrote: > On Tue, Jan 03, 2023 at 05:54:56PM +0530, vignesh C wrote: > > Is there still some work pending for this thread as Andres had > > committed some part, if so, can you post an updated patch for the > > same. > > Thomas, what's your opinion ? One observation is that your CI patch *nearly* succeeds, even if hacked to turn on the full TAP tests, if applied on top of the WaitEventSet-for-postmaster patch: https://cirrus-ci.com/task/4533371804581888 No cigar though, it still failed a few times for me in the subscription tests with EAGAIN, when accessing semaphores: semctl(24576010, 14, SETVAL, 0) failed: Resource temporarily unavailable That isn't an error I expect from semctl(), but from some cursory research it seems like that system call is actually talking to the cygserver process over a pipe (?) to implement SysV semaphores. Maybe it couldn't keep up, but doesn't like to block? Perhaps we could try to tune that server, but let's try the POSIX kind of semaphores instead. From a quick peek at the source, they are implemented some other way on direct native NT voodoo, no cygserver involved. https://cirrus-ci.com/task/5142810819559424 [still running at time of writing] Gotta run, but I'll check again in the morning to see if that does better...
Commits
-
Use unnamed POSIX semaphores on Cygwin.
- f2857af485a0 16.0 landed
-
meson: Basic cygwin support
- 79f7c482f674 16.0 landed
-
meson: Mark PROVE as not required
- ab72a31f6cc5 16.0 landed