def createLock(self):
        if thread:
            self.lock = threading.RLock()
        else:
            self.lock = None
Acquire a thread lock for serializing access to the underlying I/O.
dataset/ETHPy150Open babble/babble/include/jython/Lib/logging/__init__.py/Handler.createLock