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

Remove thread race condition on index #8

Merged
merged 1 commit into from
Feb 3, 2018
Merged

Remove thread race condition on index #8

merged 1 commit into from
Feb 3, 2018

Conversation

mrpmorris
Copy link
Contributor

The existing code alters startIndex within the code block executed by the thread. Changed this to use the value passed by Parallel.For when creating the tasks.

@Felandil Felandil merged commit fd3baa5 into Felandil:master Feb 3, 2018
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