Skip to content
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

dawg.Finder safe for concurrent use? #6

Open
eest opened this issue Sep 25, 2024 · 0 comments
Open

dawg.Finder safe for concurrent use? #6

eest opened this issue Sep 25, 2024 · 0 comments

Comments

@eest
Copy link

eest commented Sep 25, 2024

Having looked at the code for IndexOf() and AtIndex() it looks to me like a dawg.Finder should be safe for concurrent use from multiple goroutines. If my impression is correct (and this is by design) would it make sense to add a note stating this in the docs so it is easy to tell this is the case and that it is expected to work that way?

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

No branches or pull requests

1 participant