This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: epoll support in glibc?
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Dan Kegel <dank at kegel dot com>
- Cc: GNU C Library <libc-alpha at sources dot redhat dot com>,Davide Libenzi <davidel at xmailserver dot org>
- Date: Sun, 9 Nov 2003 22:11:06 -0500
- Subject: Re: epoll support in glibc?
- References: <3FAF012E.2070706@kegel.com>
On Sun, Nov 09, 2003 at 07:08:30PM -0800, Dan Kegel wrote:
> glibc-2.3.2 seems to have support for epoll -- at least it installs epoll.h.
> However, nm libc.a | grep epoll comes up empty for me, and
> http://lists.debian.org/debian-glibc/2003/debian-glibc-200307/msg00149.html
> also indicates it's unimplemented.
>
> Since the source for the syscall wrappers look pretty simple
> (e.g. Davide used _syscall1(int, epoll_create, int, size)),
> I'm tempted to send in a patch for glibc to implement these three
> calls. Does someone else already have such a patch hiding somewhere,
> by any chance? Or am I confused, and does glibc already fully
> implement epoll support?
drow@nevyn:/opt/src/glibc/libc% nm -D /lib/libc.so.6 | grep epoll
000d77b0 T epoll_create
000d77f0 T epoll_ctl
000d7840 T epoll_wait
Try building against newer kernel headers or using a newer glibc
source.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer