Re: proposal about glib



Havoc Pennington wrote:
> Hi,
> 
> 2008/6/25  <yangyang hexun com>:
>> 1)I use glib's main event loop, but why glib's main event loop don't support
>> epoll/kqueue?

The GLib event loop has been designed to handle a low number of file
descriptors. Typical Gtk+ applications uses only 1 file descriptor (the X
connection).

See the bug Havoc mentioned and also:
http://bugzilla.gnome.org/show_bug.cgi?id=143061

Johan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]