-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thread safety in set_value #77
Comments
Regarding Regarding run(): I don't think there is currently. Although |
|
The chars are the only shared state, which are solely manipulated through |
Could this possibly be an explanation to an issue I’m having with Home Assistant and HomeKit? I noticed in the logs when I’m having the issue mentioned in that post, |
@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?The text was updated successfully, but these errors were encountered: