Re: Let's drop support for named POSIX semaphores

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Subject: Re: Let's drop support for named POSIX semaphores
Date: 2026-10-26 17:05:52
Message-ID: 641217.1793034352@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)anarazel(dot)de> writes:
> It's *really* annoying that window's WaitOnAddress() equivalent explicitly
> requires the waiter and waker to be threads in the same process :(.
> E.g. lwlocks would be faster *and* the code would be simpler if futexes could
> be used everywhere.

Well, in our hypothetical multithreaded future, that might be fine.
I'm wondering how much change we should try to make in this area now,
rather than after (or as part of) the multithreading work.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Manu 2026-10-26 17:21:00 Count the last block of the validation scan in CIC progress
Previous Message Tom Lane 2026-10-26 17:02:26 Re: [PG19] A canceled notify read leaves the NOTIFY queue stuck