On Sun, Aug 28, 2022 at 1:39 PM Andres Freund <and...@anarazel.de> wrote: > On 2022-08-27 18:02:40 -0700, Andres Freund wrote: > > FWIW, I did notice that netbsd does have working unnamed semaphores. I don't > > know how long ago they were added, but they apparently didn't work quite > > right > > in 2018 [1]. No meaningful performance chance in the main regression tests, > > I'll run a concurrent check world comparison in the background... > > Unnamed ones are substantially worse unfortunately. On an 8 core netbsd 9.3 > VM:
I could update my experimental patch to add home made semaphores using atomics and futexes. It needs NetBSD 10, though. Also works on OpenBSD and macOS.