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