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
Add synchronization around use of @cluster and other variables Fix #332 #333
Conversation
Please rebase and i'll merge this. |
This has no conflicts now. |
Thanks for the improvement. |
Hi @pezra, @hydrogen18. Thanks in advance. |
@bernardofire, that is pretty interesting. Given the |
Hi @pezra, |
I suspect you would see less of that issue with more processes and fewer threads. Another option would be to submit a PR to convert that variable into a thread variable or synchronize access to that variable. I would love to get Cequel fully thread safe. If you choose this route I will do everything i can to support your effort. |
@lxbrito @bernardofire You're using 2.0.2 which does not contain the fix for this issue, upgrade to 2.0.3 |
@hydrogen18 Do you mean git master? I couldn't find 2.0.3 release. |
I haven't released 2.0.3 yet. I am getting a couple more tiny PRs in. It should be out today. |
Released in 2.0.3. Thanks, again, for the improvement. |
This class has the correct primitives to be thread safe, but it was missing a
synchronize
block.Fix #332