Felipe Contreras wrote:
2008/6/29 Johan Dahlin <jdahlin async com br>: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).GLib isn't used only on GTK+ applications.
No, but it was originally designed to be used by GTK+. Johan