Bug#208976: libc6: epoll_create, epoll_ctl, epoll_wait not implemented
Package: libc6
Version: 2.3.2-5
Severity: wishlist
epoll_create, epoll_ctl, epoll_wait are not implemented in glibc-2.3.2-5.
E.g. if you try to
compile http://www.xmailserver.org/linux-patches/pipetest.c you'll
get:
% gcc -o pipetest pipetest.c
/tmp/ccqaypwZ.o(.text+0x3e0): In function `main':
: warning: epoll_create is not implemented and will always fail
/tmp/ccqaypwZ.o(.text+0x4d8): In function `main':
: warning: epoll_ctl is not implemented and will always fail
/tmp/ccqaypwZ.o(.text+0x183): In function `run_once':
: warning: epoll_wait is not implemented and will always fail
With the external epoll library
(http://www.xmailserver.org/linux-patches/epoll-lib-0.9.tar.gz) the
test code works fine:
% gcc -o pipetest pipetest.c -Lepoll-lib-0.9/lib -lepoll
% ./pipetest
4.128713
3.970297
...
Now that 2.6.0-test kernels are available, it would be nice to have
support for epoll in glibc. (RedHat's glibc-2.3.2 builds already
support it.)
More information about epoll can be found at
http://www.xmailserver.org/linux-patches/nio-improve.html
Man pages (epoll.4, epoll_create.2, epoll_ctl.2, epoll_wait.2) are
available from
http://www.xmailserver.org/linux-patches/epoll-lib-0.9.tar.gz
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux fry 2.6.0-test4-mm5 #1 SMP Thu Sep 4 19:13:49 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages libc6 depends on:
ii libdb1-compat 2.1.3-7 The Berkeley database routines [gl
-- no debconf information
Reply to: