As you can guess the index of the Parallel.For() loop jumps from one value to the other. How can I estimate the amount of the work done?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
By keeping a counter rather than looking at the index? For example:
(the
Interlockedusage is essential to avoid getting race-conditions on accessingcounter)