Skip to content

Thread safety in set_value #77

Description

@thomaspurchas

@ikalchev do you have any docs covering thread safety? I know elaborated about how threads are used in #74, but it looks like characteristics set_value() is not really thread safe, while being called from multiple threads.

Also do you offer guidance anywhere for how an accessories run() loop should interact with requests from py-HAP in a thread safe manner?

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions