Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def gen_rlock(self) -> "RWLockReadD._aReader": """Generate a reader lock.""" return RWLockReadD._aReader(self)
A python implementation of the three Reader-Writer problems.