]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Added epoll-based wait() implementation
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 29 Dec 2020 03:03:34 +0000 (04:03 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 29 Dec 2020 17:14:12 +0000 (18:14 +0100)
commita2c4c4bf7ba16878258560a6e3931565b5b35356
tree8b0724b68ab01f8535e753eb319608ad082360cf
parente3590d1e756396cb29d30600c943d16d64e8e1cd
Added epoll-based wait() implementation

Only used if the EpollSelector would (i.e. epoll is available and it's
the best thing on the menu). Saves noticeable time over the
EpollSelector as there's less Python stuff going on and can use ONESHOT
+ MOD_CTL.
psycopg3/psycopg3/waiting.py