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 test the stability of your

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 use

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 over IO