def abort_io(self, iocb, err):
    'Called by a handler or a client to abort a transaction.'
    if _debug:
        IOController._debug('abort_io %r %r', iocb, err)
    if (iocb.ioState == COMPLETED):
        pass
    elif (iocb.ioState == ABORTED):
        pass
    else:
        iocb.ioState = ABORTED
        iocb.ioError = err
        iocb.trigger()
Called by a handler or a client to abort a transaction.
def abort_io(self, iocb, err):
    
    if _debug:
        IOController._debug('abort_io %r %r', iocb, err)
    if (iocb.ioState == COMPLETED):
        pass
    elif (iocb.ioState == ABORTED):
        pass
    else:
        iocb.ioState = ABORTED
        iocb.ioError = err
        iocb.trigger()