Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Matts (1087)

  (email not shown publicly)

I work for MessageLabs [] in Toronto, ON, Canada. I write spam filters, MTA software, high performance network software, string matching algorithms, and other cool stuff mostly in Perl and C.

Journal of Matts (1087)

Friday February 18, 2005
03:52 PM

More on kqueue

[ #23252 ]

So thanks to a few people who replied, IO::KQueue is now up on CPAN.

So I'm going to do the naughty and upload a new version that breaks backward compatibility so that I can clean up a few features. The returned events only included the fd and the filter, whereas it makes sense for me to include everything returned to me by the kevent() system call.

So I'm just going to return a list of arrayrefs. Hopefully calling newAV() isn't too expensive to make this overkill. The only alternative would be to call a callback for each event, and I think that would have much more overhead (crossing the C->perl boundary too often) compared to returning a list.

Now I have to go back and patch Danga::Socket again.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.