[Development] epoll event dispatcher
Thiago Macieira
thiago.macieira at intel.com
Fri Aug 9 17:59:21 CEST 2013
On sexta-feira, 9 de agosto de 2013 08:48:12, Thiago Macieira wrote:
> If anything, we'd need to change our interface in QSocketNotifier to
> benefit from the edge trigger. We toggle our write notifications all the
> time because we need the edge, not the level.
>
> No, epoll makes no sense until we fix our code first.
I'm sorry about replying to myself. There are two more reasons for which I
think epoll is not a good idea:
First, it's Linux-only.
Unless we get a significant benefit on Linux, I'd much rather have code shared
with other platforms. The less we have that is platform-specific, the more we
ensure all platforms run properly. It's already bad that we've managed to run
into QNX bugs and have #ifdefs for it (even if the company sponsoring most of
the work on QNX also has the kernel developers to fix those bugs). I'd rather
people with one OS also tested things for other OSs.
Second, on Linux almost everyone is using the glib event loop (which is poll-
based). So, if epoll is interesting for us, please join the glib mailing lists
and submit a patch there.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130809/e722d1c5/attachment.sig>
More information about the Development
mailing list