git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: d82d848) | patch
Teach unix_latch.c to use poll() where available.
2011年8月11日 16:49:45 +0000 (12:49 -0400)
2011年8月11日 16:50:22 +0000 (12:50 -0400)
commit a180776f7a1c4554f214bd9e67bd63bfaf33e339
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.
src/backend/port/unix_latch.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /