ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/AIO.pm
(Generate patch)

Comparing IO-AIO/AIO.pm (file contents):
Revision 1.7 by root, Sun Jul 10 22:19:54 2005 UTC vs.
Revision 1.8 by root, Sun Jul 10 22:20:25 2005 UTC

12 }; 12 };
13 13
14 aio_unlink "/tmp/file", sub { }; 14 aio_unlink "/tmp/file", sub { };
15 15
16 aio_read $fh, 30000, 1024, $buffer, 0, sub { 16 aio_read $fh, 30000, 1024, $buffer, 0, sub {
17 $_[0] >= 0 or die "read error: $!"; 17 $_[0] > 0 or die "read error: $!";
18 }; 18 };
19 19
20 # Event 20 # Event
21 Event->io (fd => IO::AIO::poll_fileno, 21 Event->io (fd => IO::AIO::poll_fileno,
22 poll => 'r', 22 poll => 'r',

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines