Re: Escaping from blocked send() reprised. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Escaping from blocked send() reprised.
Date
Msg-id 526.1409692863@sss.pgh.pa.us
Whole thread Raw
In response to Re: Escaping from blocked send() reprised.  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: Escaping from blocked send() reprised.  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
Heikki Linnakangas <hlinnakangas@vmware.com> writes:
> I was going to suggest using WaitLatchOrSocket instead of sleeping in 1 
> second increment, but I see that WaitLatchOrSocket() doesn't currently 
> support waiting for a socket to become writeable, without also waiting 
> for it to become readable. I wonder how difficult it would be to lift 
> that restriction.

My recollection is that there was a reason for that, but I don't recall
details any more.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Jan Wieck
Date:
Subject: Re: PL/pgSQL 2
Next
From: Joel Jacobson
Date:
Subject: Re: PL/pgSQL 2