def RLock():
 from multiprocessing.synchronize import RLock
 return RLock()

def RLock ( ) : from multiprocessing . synchronize import RLock return RLock ( )
factory function that returns a new reentrant lock .