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

protect @counts against race conditions #11

Merged
merged 1 commit into from Mar 26, 2015

Conversation

shyouhei
Copy link
Contributor

It seems @mutex is used to protect @counts. If that is the case the
mutex must be used everywhere you touch @counts, otherwise you introduce
race conditions.

It seems @mutex is used to protect @CountS.  If that is the case the
mutex must be used everywhere you touch @CountS, otherwise you introduce
race conditions.
tagomoris added a commit that referenced this pull request Mar 26, 2015
protect @CountS against race conditions
@tagomoris tagomoris merged commit d139147 into tagomoris:master Mar 26, 2015
@tagomoris
Copy link
Owner

Thanks!
Merged, and released as v0.4.4.

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.

None yet

2 participants