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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
