def _synchPre(self, *a, **b):
    if '_threadable_lock' not in self.__dict__:
        _synchLockCreator.acquire()
        if '_threadable_lock' not in self.__dict__:
            self.__dict__['_threadable_lock'] = XLock()
        _synchLockCreator.release()
    self._threadable_lock.acquire()
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/python/threadable.py/_synchPre/original