Skip to content

pkg/scope: add mutexes around scope#33

Merged
dstotijn merged 1 commit intodstotijn:masterfrom
holiman:fix_mutexes
Oct 8, 2020
Merged

pkg/scope: add mutexes around scope#33
dstotijn merged 1 commit intodstotijn:masterfrom
holiman:fix_mutexes

Conversation

@holiman
Copy link
Copy Markdown
Contributor

@holiman holiman commented Oct 7, 2020

Saw a comment in the code. Yes, you'd need a mutex there, as well as when reading the s.rules in Rules(), but a readlock is sufficient.

Copy link
Copy Markdown
Owner

@dstotijn dstotijn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for clearing this up and fixing! 🙏

@dstotijn dstotijn merged commit fa41e9c into dstotijn:master Oct 8, 2020
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.

2 participants