'Put work request into work queue and save its id for later.'

def putRequest(self, request, block=True, timeout=0):

    assert isinstance(request, WorkRequest)
    self.requestsQueue.put(request, block, timeout)
    self.workRequests[request.requestID] = request
