--- libeio/eio.pod 2013/03/11 07:59:41 1.34 +++ libeio/eio.pod 2014/08/18 08:11:54 1.35 @@ -292,21 +292,7 @@ executing it might still continue to execute, and in other cases it might still take a while till the request is cancelled. -Even if cancelled, the finish callback will still be invoked - the -callbacks of all cancellable requests need to check whether the request -has been cancelled by calling C: - - static int - my_eio_cb (eio_req *req) - { - if (EIO_CANCELLED (req)) - return 0; - } - -In addition, cancelled requests will I have C<< req->result >> -set to C<-1> and C to C, or I they were -successfully executed, despite being cancelled (e.g. when they have -already been executed at the time they were cancelled). +When cancelled, the finish callback will not be invoked. C is still true for requests that have successfully executed, as long as C was called on them at some point.