Re: IO::Epoll

2004-03-02 Thread Rocco Caputo
On Mon, Mar 01, 2004 at 08:08:01PM -0800, Bruce J Keeler wrote: > The epoll subsystem is a new, (currently) Linux-specific variant of > poll(2). It is designed to offer O(1) scalability over large numbers of > watched file descriptors. You need at least Linux 2.5.44 and a recent C > library to us

Re: IO::Epoll

2004-03-02 Thread Bruce J Keeler
It doesn't make sense to put that in IO::Poll. So I think there may still be use for IO::Epoll on CPAN, even if it's mostly supplanted by IO:Poll. I think I'll proceed with uploading IO::Epoll, that way it's available for those who need it with their current perl, or who need the low-level functions.

Re: IO::Epoll

2004-03-02 Thread A. Pagaltzis
* Bruce J Keeler <[EMAIL PROTECTED]> [2004-03-02 09:57]: > IO::Epoll exposes the low-level epoll system calls > (epoll_create, epoll_ctl and epoll_wait), but it also has a > higher-level OO API designed to be a drop-in replacement for > IO::Poll. As a stopgap solution f.ex to

IO::Epoll

2004-03-01 Thread Bruce J Keeler
that professed to be a Perl interface to epoll, so I wrote one. IO::Epoll exposes the low-level epoll system calls (epoll_create, epoll_ctl and epoll_wait), but it also has a higher-level OO API designed to be a drop-in replacement for IO::Poll. My initial benchmarks show a huge performance improvement ov