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.103 by root, Tue Jan 23 22:57:34 2007 UTC vs.
Revision 1.105 by root, Sun Mar 25 00:20:27 2007 UTC

1078Strictly equivalent to: 1078Strictly equivalent to:
1079 1079
1080 IO::AIO::poll_wait, IO::AIO::poll_cb 1080 IO::AIO::poll_wait, IO::AIO::poll_cb
1081 while IO::AIO::nreqs; 1081 while IO::AIO::nreqs;
1082 1082
1083=back
1084
1083=head3 CONTROLLING THE NUMBER OF THREADS 1085=head3 CONTROLLING THE NUMBER OF THREADS
1086
1087=over
1084 1088
1085=item IO::AIO::min_parallel $nthreads 1089=item IO::AIO::min_parallel $nthreads
1086 1090
1087Set the minimum number of AIO threads to C<$nthreads>. The current 1091Set the minimum number of AIO threads to C<$nthreads>. The current
1088default is C<8>, which means eight asynchronous operations can execute 1092default is C<8>, which means eight asynchronous operations can execute
1147 1151
1148You can still queue as many requests as you want. Therefore, 1152You can still queue as many requests as you want. Therefore,
1149C<max_oustsanding> is mainly useful in simple scripts (with low values) or 1153C<max_oustsanding> is mainly useful in simple scripts (with low values) or
1150as a stop gap to shield against fatal memory overflow (with large values). 1154as a stop gap to shield against fatal memory overflow (with large values).
1151 1155
1156=back
1157
1152=head3 STATISTICAL INFORMATION 1158=head3 STATISTICAL INFORMATION
1159
1160=over
1153 1161
1154=item IO::AIO::nreqs 1162=item IO::AIO::nreqs
1155 1163
1156Returns the number of requests currently in the ready, execute or pending 1164Returns the number of requests currently in the ready, execute or pending
1157states (i.e. for which their callback has not been invoked yet). 1165states (i.e. for which their callback has not been invoked yet).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines