Maintain the set of polled sockets over time
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 26 Jan 2011 16:41:32 +0000 (16:41 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 13 Jun 2011 16:30:45 +0000 (17:30 +0100)
commit0110a3b13a48845ad68168a0db787a83c13a4318
treef2a7700c1008f96fc177a3f3eed1e104ce6fc3c0
parent40b5dc824aaf3b6ab71d7827fb66e080109a11e7
Maintain the set of polled sockets over time

This enables us to benefit from epoll(4): polling is now
O(number of watch changes + number of active fds), whereas with poll(2)
it's O(total number of fds).

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33337
Bug-NB: NB#197191
dbus/dbus-mainloop.c