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_wlock(self) -> "RWLockFair._aWriter": """Generate a writer lock.""" return RWLockFair._aWriter(self)
A python implementation of the three Reader-Writer problems.