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.150 by root, Sat Jun 6 19:44:17 2009 UTC vs.
Revision 1.151 by root, Fri Jun 12 00:43:16 2009 UTC

1045=item cancel $req 1045=item cancel $req
1046 1046
1047Cancels the request, if possible. Has the effect of skipping execution 1047Cancels the request, if possible. Has the effect of skipping execution
1048when entering the B<execute> state and skipping calling the callback when 1048when entering the B<execute> state and skipping calling the callback when
1049entering the the B<result> state, but will leave the request otherwise 1049entering the the B<result> state, but will leave the request otherwise
1050untouched. That means that requests that currently execute will not be 1050untouched (with the exception of readdir). That means that requests that
1051stopped and resources held by the request will not be freed prematurely. 1051currently execute will not be stopped and resources held by the request
1052will not be freed prematurely.
1052 1053
1053=item cb $req $callback->(...) 1054=item cb $req $callback->(...)
1054 1055
1055Replace (or simply set) the callback registered to the request. 1056Replace (or simply set) the callback registered to the request.
1056 1057

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines