8000 non atomic has_lock() and update_lock() · Issue #41 · compose/governor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Nov 18, 2017. It is now read-only.
This repository was archived by the owner on Nov 18, 2017. It is now read-only.
non atomic has_lock() and update_lock() #41
Open
@cakester

Description

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0