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.137 by root, Sun Oct 5 16:56:08 2008 UTC vs.
Revision 1.138 by root, Sun Oct 12 21:51:33 2008 UTC

1076not impose any limits). 1076not impose any limits).
1077 1077
1078If the feed does not queue more requests when called, it will be 1078If the feed does not queue more requests when called, it will be
1079automatically removed from the group. 1079automatically removed from the group.
1080 1080
1081If the feed limit is C<0>, it will be set to C<2> automatically. 1081If the feed limit is C<0> when this method is called, it will be set to
1082C<2> automatically.
1082 1083
1083Example: 1084Example:
1084 1085
1085 # stat all files in @files, but only ever use four aio requests concurrently: 1086 # stat all files in @files, but only ever use four aio requests concurrently:
1086 1087
1097 1098
1098Sets the feeder limit for the group: The feeder will be called whenever 1099Sets the feeder limit for the group: The feeder will be called whenever
1099the group contains less than this many requests. 1100the group contains less than this many requests.
1100 1101
1101Setting the limit to C<0> will pause the feeding process. 1102Setting the limit to C<0> will pause the feeding process.
1103
1104The default value for the limit is C<0>, but note that setting a feeder
1105automatically bumps it up to C<2>.
1102 1106
1103=back 1107=back
1104 1108
1105=head2 SUPPORT FUNCTIONS 1109=head2 SUPPORT FUNCTIONS
1106 1110

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines