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.11 by root, Mon Jul 11 00:51:32 2005 UTC vs.
Revision 1.12 by root, Mon Jul 11 01:03:17 2005 UTC

233Example: wait till there are no outstanding requests anymore: 233Example: wait till there are no outstanding requests anymore:
234 234
235 IO::AIO::poll_wait, IO::AIO::poll_cb 235 IO::AIO::poll_wait, IO::AIO::poll_cb
236 while IO::AIO::nreqs; 236 while IO::AIO::nreqs;
237 237
238=item IO::AIO::flush
239
240Wait till all outstanding AIO requests have been handled.
241
238=item IO::AIO::min_parallel $nthreads 242=item IO::AIO::min_parallel $nthreads
239 243
240Set the minimum number of AIO threads to C<$nthreads>. The default is 244Set the minimum number of AIO threads to C<$nthreads>. The default is
241C<1>, which means a single asynchronous operation can be done at one time 245C<1>, which means a single asynchronous operation can be done at one time
242(the number of outstanding operations, however, is unlimited). 246(the number of outstanding operations, however, is unlimited).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines