Skip to content

Remove locking from ServiceRegistry#911

Merged
bdraco merged 1 commit intopython-zeroconf:masterfrom
bdraco:registry_async_safe
Jul 17, 2021
Merged

Remove locking from ServiceRegistry#911
bdraco merged 1 commit intopython-zeroconf:masterfrom
bdraco:registry_async_safe

Conversation

@bdraco
Copy link
Copy Markdown
Member

@bdraco bdraco commented Jul 17, 2021

  • All calls to the ServiceRegistry are now done in async context
    which makes them thread safe. Locking is no longer needed.

@bdraco
Copy link
Copy Markdown
Member Author

bdraco commented Jul 17, 2021

#910 removed the last threaded access to the registry

- All calls to the ServiceRegistry are now done in async context
  which makes them thread safe. Locking is no longer needed.
@bdraco bdraco force-pushed the registry_async_safe branch from c22c6ad to 70c90f0 Compare July 17, 2021 06:09
@bdraco bdraco merged commit 2d3da7a into python-zeroconf:master Jul 17, 2021
@bdraco bdraco deleted the registry_async_safe branch July 17, 2021 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant