Skip to content
This repository has been archived by the owner on Nov 18, 2017. It is now read-only.

non atomic has_lock() and update_lock() #41

Open
cakester opened this issue Oct 6, 2016 · 0 comments
Open

non atomic has_lock() and update_lock() #41

cakester opened this issue Oct 6, 2016 · 0 comments

Comments

@cakester
Copy link

cakester commented Oct 6, 2016

                if self.has_lock():
                    self.update_lock()

this is not atomic, and update_lock would fail if too slow (412), could combine them together

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant