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.104 by root, Sat Mar 24 19:19:11 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
1084 1086
1085=item IO::AIO::min_parallel $nthreads 1087=item IO::AIO::min_parallel $nthreads
1086 1088
1087Set the minimum number of AIO threads to C<$nthreads>. The current 1089Set the minimum number of AIO threads to C<$nthreads>. The current
1147 1149
1148You can still queue as many requests as you want. Therefore, 1150You can still queue as many requests as you want. Therefore,
1149C<max_oustsanding> is mainly useful in simple scripts (with low values) or 1151C<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). 1152as a stop gap to shield against fatal memory overflow (with large values).
1151 1153
1154=back
1155
1152=head3 STATISTICAL INFORMATION 1156=head3 STATISTICAL INFORMATION
1157
1158=over
1153 1159
1154=item IO::AIO::nreqs 1160=item IO::AIO::nreqs
1155 1161
1156Returns the number of requests currently in the ready, execute or pending 1162Returns the number of requests currently in the ready, execute or pending
1157states (i.e. for which their callback has not been invoked yet). 1163states (i.e. for which their callback has not been invoked yet).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines