… | |
… | |
1207 | This is a very bad function to use in interactive programs because it |
1207 | This is a very bad function to use in interactive programs because it |
1208 | blocks, and a bad way to reduce concurrency because it is inexact: Better |
1208 | blocks, and a bad way to reduce concurrency because it is inexact: Better |
1209 | use an C<aio_group> together with a feed callback. |
1209 | use an C<aio_group> together with a feed callback. |
1210 | |
1210 | |
1211 | Sets the maximum number of outstanding requests to C<$nreqs>. If you |
1211 | Sets the maximum number of outstanding requests to C<$nreqs>. If you |
1212 | to queue up more than this number of requests, the next call to the |
1212 | do queue up more than this number of requests, the next call to the |
1213 | C<poll_cb> (and C<poll_some> and other functions calling C<poll_cb>) |
1213 | C<poll_cb> (and C<poll_some> and other functions calling C<poll_cb>) |
1214 | function will block until the limit is no longer exceeded. |
1214 | function will block until the limit is no longer exceeded. |
1215 | |
1215 | |
1216 | The default value is very large, so there is no practical limit on the |
1216 | The default value is very large, so there is no practical limit on the |
1217 | number of outstanding requests. |
1217 | number of outstanding requests. |