… | |
… | |
21 | package Linux::AIO; |
21 | package Linux::AIO; |
22 | |
22 | |
23 | use base 'Exporter'; |
23 | use base 'Exporter'; |
24 | |
24 | |
25 | BEGIN { |
25 | BEGIN { |
26 | $VERSION = 0.011; |
26 | $VERSION = 0.1; |
27 | |
27 | |
28 | @EXPORT = qw(aio_read aio_write aio_open aio_close aio_stat aio_lstat); |
28 | @EXPORT = qw(aio_read aio_write aio_open aio_close aio_stat aio_lstat); |
29 | @EXPORT_OK = qw(poll_fileno poll_cb min_parallel max_parallel nreqs); |
29 | @EXPORT_OK = qw(poll_fileno poll_cb min_parallel max_parallel nreqs); |
30 | |
30 | |
31 | require XSLoader; |
31 | require XSLoader; |
… | |
… | |
100 | |
100 | |
101 | =head1 BUGS |
101 | =head1 BUGS |
102 | |
102 | |
103 | This module has not yet been extensively tested. Watch out! |
103 | This module has not yet been extensively tested. Watch out! |
104 | |
104 | |
105 | - aio_stat/lstat are seriously missing here. |
105 | - perl-threads/fork interaction poorly tested. |
|
|
106 | - aio_open gives a fd, but all other functions expect a filehandle. |
106 | |
107 | |
107 | =head1 SEE ALSO |
108 | =head1 SEE ALSO |
108 | |
109 | |
109 | L<Coro>. |
110 | L<Coro>. |
110 | |
111 | |