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