Re: Epoll in Glib



On Mon, Dec 18, 2006 at 03:17:23AM +0000, aaaaa hhhhh wrote:
> i like to use my gui for everything i can, and for small network
> apps. GTK/GLIB is currently lacking epoll, it currently only uses
> poll. Epoll would be a great addition as most new network
> applications use it. It would be great to have this and if the
> computer doesnt have epoll supported revert back to using poll. If
> someone could do this that would be great. a very nice new feature.

I've found myself wondering whether epoll is worth it for most
applications. Unless you have thousands of file descriptors that are
monitoring, what would be nice about using a non-portable feature in a
portable library?

I assume the GDK/GTK input loop could be modified to support epoll.
I find myself doubting that the change would be worth it...

Cheers,
mark

-- 
mark mielke cc / markm ncf ca / markm nortel com     __________________________
.  .  _  ._  . .   .__    .  . ._. .__ .   . . .__  | Neighbourhood Coder
|\/| |_| |_| |/    |_     |\/|  |  |_  |   |/  |_   | 
|  | | | | \ | \   |__ .  |  | .|. |__ |__ | \ |__  | Ottawa, Ontario, Canada

  One ring to rule them all, one ring to find them, one ring to bring them all
                       and in the darkness bind them...

                           http://mark.mielke.cc/




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