… | |
… | |
276 | IO::AIO::madvise $scalar, $offset, $length, $advice |
276 | IO::AIO::madvise $scalar, $offset, $length, $advice |
277 | IO::AIO::mprotect $scalar, $offset, $length, $protect |
277 | IO::AIO::mprotect $scalar, $offset, $length, $protect |
278 | IO::AIO::munlock $scalar, $offset = 0, $length = undef |
278 | IO::AIO::munlock $scalar, $offset = 0, $length = undef |
279 | IO::AIO::munlockall |
279 | IO::AIO::munlockall |
280 | |
280 | |
281 | =head2 AIO REQUEST FUNCTIONS |
281 | =head2 API NOTES |
282 | |
282 | |
283 | All the C<aio_*> calls are more or less thin wrappers around the syscall |
283 | All the C<aio_*> calls are more or less thin wrappers around the syscall |
284 | with the same name (sans C<aio_>). The arguments are similar or identical, |
284 | with the same name (sans C<aio_>). The arguments are similar or identical, |
285 | and they all accept an additional (and optional) C<$callback> argument |
285 | and they all accept an additional (and optional) C<$callback> argument |
286 | which must be a code reference. This code reference will be called after |
286 | which must be a code reference. This code reference will be called after |
… | |
… | |
316 | unicode filenames or e) use something else to ensure your scalar has the |
316 | unicode filenames or e) use something else to ensure your scalar has the |
317 | correct contents. |
317 | correct contents. |
318 | |
318 | |
319 | This works, btw. independent of the internal UTF-8 bit, which IO::AIO |
319 | This works, btw. independent of the internal UTF-8 bit, which IO::AIO |
320 | handles correctly whether it is set or not. |
320 | handles correctly whether it is set or not. |
|
|
321 | |
|
|
322 | =head2 AIO REQUEST FUNCTIONS |
321 | |
323 | |
322 | =over 4 |
324 | =over 4 |
323 | |
325 | |
324 | =item $prev_pri = aioreq_pri [$pri] |
326 | =item $prev_pri = aioreq_pri [$pri] |
325 | |
327 | |