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.63 by root, Mon Oct 23 00:34:36 2006 UTC vs.
Revision 1.64 by root, Mon Oct 23 00:50:10 2006 UTC

540This is a special request - it does nothing in itself and is only used for 540This is a special request - it does nothing in itself and is only used for
541side effects, such as when you want to add a dummy request to a group so 541side effects, such as when you want to add a dummy request to a group so
542that finishing the requests in the group depends on executing the given 542that finishing the requests in the group depends on executing the given
543code. 543code.
544 544
545While this request does nothing, it still goes through the execution
546phase and still requires a worker thread. Thus, the callback will not
547be executed immediately but only after other requests in the queue have
548entered their execution phase. This can be used to measure request
549latency.
550
545=item IO::AIO::aio_sleep $fractional_seconds, $callback->() *NOT EXPORTED* 551=item IO::AIO::aio_sleep $fractional_seconds, $callback->() *NOT EXPORTED*
546 552
547Mainly used for debugging and benchmarking, this aio request puts one of 553Mainly used for debugging and benchmarking, this aio request puts one of
548the request workers to sleep for the given time. 554the request workers to sleep for the given time.
549 555

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines