Tom Lane wrote:
Fujii Masao <masao.fu...@gmail.com> writes:
I'm not sure whether poll(2) should be called for this purpose. But
poll(2) and select(2) seem to often come together in the existing code.
We should follow such custom?

Yes.  poll() is usually more efficient, so it's preferred, but not all
platforms have it.  (On the other side, I think Windows might have
only poll and not select.)

                        

No, other way around, I'm fairly sure.

cheers

andrew

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to