[Xcb] [Bug 20336] libxcb crashes on select() with high file descriptor value
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Mar 16 16:59:32 PDT 2009
http://bugs.freedesktop.org/show_bug.cgi?id=20336
--- Comment #10 from Alan Coopersmith <alan.coopersmith at sun.com> 2009-03-16 16:59:31 PST ---
(In reply to comment #7)
> (Someone from Sun should specify whether /dev/poll is preferred on
> Solaris.)
/dev/poll is more efficient when monitoring a large number of fd's, but
does libxcb really monitor more than one or two fd's? There's also the
event ports interface in Solaris 10 and later if you're making a full
list of options...
References:
http://developers.sun.com/solaris/articles/polling_efficient.html
http://developers.sun.com/solaris/articles/event_completion.html
http://blogs.sun.com/dap/entry/event_ports_and_performance
http://blogs.sun.com/dap/entry/event_ports_and_performance_take
http://blogs.sun.com/dap/entry/libevent_and_solaris_event_ports
As noted in the last one, perhaps a library like libev/libevent that already
handles all the platform specific optimizations is best if you don't want
to just stick to poll().
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Xcb
mailing list