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

Thread Saftey? #23

Open
QuinnDamerell opened this issue Jan 10, 2022 · 1 comment
Open

Thread Saftey? #23

QuinnDamerell opened this issue Jan 10, 2022 · 1 comment

Comments

@QuinnDamerell
Copy link

Thanks for your work on the project! It would be great if you could add some notes to the APIs indicating if they are thread-safe or not. For example, should I create one static instance of the filter and then allow multiple threads to use it? Or should I create a new filter object per thread?

From looking at the code the functions look thread-safe, but I can't say that for 100% certainly.

@ilankhirin
Copy link

@QuinnDamerell How did you end up using it? Did you initiate a single instance?

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

2 participants