?

Log in

No account? Create an account
new Perl module: IO::AIO - brad's life — LiveJournal [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

new Perl module: IO::AIO [Jul. 10th, 2005|03:14 pm]
Brad Fitzpatrick
[Tags|, ]

One of my favorite CPAN contributors, Marc Lehmann, author of the wonderful Linux::AIO and Coro modules, just released a new module:

http://search.cpan.org/~mlehmann/IO-AIO/AIO.pm

It's like Linux::AIO, but portable.
LinkReply

Comments:
[User Picture]From: bsdguru
2005-07-12 08:01 am (UTC)

Using IO::AIO for FreeBSD and perlbal

I'm planning on looking at getting IO::AIO going with perlbal on FreeBSD. Also downloaded that FD::Parser that you were talking about ages ago.
(Reply) (Thread)
[User Picture]From: brad
2005-07-12 04:48 pm (UTC)

Re: Using IO::AIO for FreeBSD and perlbal

I almost got it working last night. Perlbal already has an AIO abstraction layer, and IO::AIO is almost perfectly compatible with Linux::AIO, except for aio_open gets a $fh in IO:: instead of a $fd as in Linux::.

I plan to finish it up today.
(Reply) (Parent) (Thread)
[User Picture]From: bsdguru
2005-07-12 05:34 pm (UTC)

Re: Using IO::AIO for FreeBSD and perlbal

Excellent! :)
(Reply) (Parent) (Thread)
[User Picture]From: bsdguru
2005-07-13 08:21 pm (UTC)

Re: Using IO::AIO for FreeBSD and perlbal

How did the coding go?
(Reply) (Parent) (Thread)
[User Picture]From: niallm
2005-08-08 01:51 pm (UTC)

Re: Using IO::AIO for FreeBSD and perlbal

Bizarrely, the make test suite for IO::AIO crashes my FreeBSD 5.4 box hard.

So hard, in fact, that it turns off...
(Reply) (Parent) (Thread)
[User Picture]From: brad
2005-08-08 03:37 pm (UTC)

Re: Using IO::AIO for FreeBSD and perlbal

Go FreeBSD! I bet the FreeBSD developers would love to know this... a repeatable crash test case is like pure gold. You should go tell them.
(Reply) (Parent) (Thread)