[ovs-dev] [PATCH v3] python/ovs/pollar: use select.select instead of select.poll

Ben Pfaff blp at nicira.com
Wed Sep 5 16:27:29 UTC 2012


On Wed, Sep 05, 2012 at 07:38:26PM +0900, Isaku Yamahata wrote:
> eventlet/gevent doesn't work well with select.poll because select.poll blocks
> python interpreter as a whole instead of switching from the current thread
> which is about to block to other runnable thread.
> So ovsdb python binding can't be used with eventlet/gevent.
> Emulate select.poll with select.select because using python means that
> performance isn't so important.
> 
> Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>

Applied to master, thank you.

(I did s/pollar/poller/ in the patch title.)



More information about the dev mailing list