def request_io(self, iocb):
    'Called by a client to start processing a request.'
    if _debug:
        IOQController._debug('request_io %r', iocb)
    iocb.ioController = self
    if (self.state != CTRL_IDLE):
        if _debug:
            IOQController._debug('    - busy, request queued')
        iocb.ioState = PENDING
        self.ioQueue.put(iocb)
        return
    try:
        err = None
        self.process_io(iocb)
    except:
        err = sys.exc_info()[1]
    if err:
        self.abort_io(iocb, err)
Called by a client to start processing a request.
def request_io(self, iocb):
    
    if _debug:
        IOQController._debug('request_io %r', iocb)
    iocb.ioController = self
    if (self.state != CTRL_IDLE):
        if _debug:
            IOQController._debug('    - busy, request queued')
        iocb.ioState = PENDING
        self.ioQueue.put(iocb)
        return
    try:
        err = None
        self.process_io(iocb)
    except:
        err = sys.exc_info()[1]
    if err:
        self.abort_io(iocb, err)