• Tom Lane's avatar
    Teach unix_latch.c to use poll() where available. · a180776f
    Tom Lane authored
    poll() is preferred over select() on platforms where both are available,
    because it tends to be a bit faster and it doesn't have an arbitrary limit
    on the range of FD numbers that can be accessed.  The FD range limit does
    not appear to be a risk factor for any 9.1 usages, so this doesn't need to
    be back-patched, but we need to have it in place if we keep on expanding
    the uses of WaitLatch.
    a180776f
unix_latch.c 16.7 KB