Skip to content

Conversation

@alanjds
Copy link
Contributor

@alanjds alanjds commented Jul 6, 2018

As stated on https://docs.python.org/3.6/library/threading.html#threading.Lock.release, a lock should be able to unlock it whatever "Thread" it is right now.

However, the timeout stuff forced some flexibility: If an instance thinks that it is the sole owner of the locked resource, should not unlock it on __exit__ for exemple.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant