… | |
… | |
280 | IO::AIO::nreqs |
280 | IO::AIO::nreqs |
281 | IO::AIO::nready |
281 | IO::AIO::nready |
282 | IO::AIO::npending |
282 | IO::AIO::npending |
283 | IO::AIO::reinit |
283 | IO::AIO::reinit |
284 | |
284 | |
285 | $nfd = IO::AIO::get_fdlimit [EXPERIMENTAL] |
285 | $nfd = IO::AIO::get_fdlimit |
286 | IO::AIO::min_fdlimit $nfd [EXPERIMENTAL] |
286 | IO::AIO::min_fdlimit $nfd |
287 | |
287 | |
288 | IO::AIO::sendfile $ofh, $ifh, $offset, $count |
288 | IO::AIO::sendfile $ofh, $ifh, $offset, $count |
289 | IO::AIO::fadvise $fh, $offset, $len, $advice |
289 | IO::AIO::fadvise $fh, $offset, $len, $advice |
290 | |
290 | |
291 | IO::AIO::mmap $scalar, $length, $prot, $flags[, $fh[, $offset]] |
291 | IO::AIO::mmap $scalar, $length, $prot, $flags[, $fh[, $offset]] |
… | |
… | |
1679 | C<aio_wd> callback, as future requests using the value will fail in the |
1679 | C<aio_wd> callback, as future requests using the value will fail in the |
1680 | expected way. |
1680 | expected way. |
1681 | |
1681 | |
1682 | =item IO::AIO::CWD |
1682 | =item IO::AIO::CWD |
1683 | |
1683 | |
1684 | This is a compiletime constant (object) that represents the process |
1684 | This is a compile time constant (object) that represents the process |
1685 | current working directory. |
1685 | current working directory. |
1686 | |
1686 | |
1687 | Specifying this object as working directory object for a pathname is as if |
1687 | Specifying this object as working directory object for a pathname is as if |
1688 | the pathname would be specified directly, without a directory object. For |
1688 | the pathname would be specified directly, without a directory object. For |
1689 | example, these calls are functionally identical: |
1689 | example, these calls are functionally identical: |
… | |
… | |
2220 | |
2220 | |
2221 | =over 4 |
2221 | =over 4 |
2222 | |
2222 | |
2223 | =item $numfd = IO::AIO::get_fdlimit |
2223 | =item $numfd = IO::AIO::get_fdlimit |
2224 | |
2224 | |
2225 | This function is I<EXPERIMENTAL> and subject to change. |
|
|
2226 | |
|
|
2227 | Tries to find the current file descriptor limit and returns it, or |
2225 | Tries to find the current file descriptor limit and returns it, or |
2228 | C<undef> and sets C<$!> in case of an error. The limit is one larger than |
2226 | C<undef> and sets C<$!> in case of an error. The limit is one larger than |
2229 | the highest valid file descriptor number. |
2227 | the highest valid file descriptor number. |
2230 | |
2228 | |
2231 | =item IO::AIO::min_fdlimit [$numfd] |
2229 | =item IO::AIO::min_fdlimit [$numfd] |
2232 | |
|
|
2233 | This function is I<EXPERIMENTAL> and subject to change. |
|
|
2234 | |
2230 | |
2235 | Try to increase the current file descriptor limit(s) to at least C<$numfd> |
2231 | Try to increase the current file descriptor limit(s) to at least C<$numfd> |
2236 | by changing the soft or hard file descriptor resource limit. If C<$numfd> |
2232 | by changing the soft or hard file descriptor resource limit. If C<$numfd> |
2237 | is missing, it will try to set a very high limit, although this is not |
2233 | is missing, it will try to set a very high limit, although this is not |
2238 | recommended when you know the actual minimum that you require. |
2234 | recommended when you know the actual minimum that you require. |