Skip to content

Possible race condition. #146

Description

@namezys

I suppose that the existence of a race condition is clear:

  • A real race where a late device response can overwrite a newer command
  • A second change made while the first push_state_update() is awaiting can be silently dropped

The solution is simple: split new (set) properties and received. It is clearer code, better architecture.
However, it is a significant change.

PS: I can do it but let's commit buzzer first.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions