aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-08-11 12:49:45 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-08-11 12:50:22 -0400
commita180776f7a1c4554f214bd9e67bd63bfaf33e339 (patch)
tree45fa500fab8e1b76abd170743c1d3cd274d1c224 /src/backend/commands/async.c
parentd82d84864ca8ee2960a1a5d7a3f051290ac1e42f (diff)
downloadpostgresql-a180776f7a1c4554f214bd9e67bd63bfaf33e339.tar.gz
postgresql-a180776f7a1c4554f214bd9e67bd63bfaf33e339.zip
Teach unix_latch.c to use poll() where available.
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.
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions