def callInThreadWithCallback(self, onResult, func, *args, **kw):
        if self.joined:
            return
        ctx = context.theContextTracker.currentContext().contexts[-1]
        o = (ctx, func, args, kw, onResult)
        self.q.put(o)
        if self.started:
            self._startSomeWorkers()
Call a callable object in a separate thread and call onResult
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/python/threadpool.py/ThreadPool.callInThreadWithCallback