LitDev,
Here's output of the text window a little modified from your original. Thread1 is from dowork1. So, it looks like Dowork1 is ran 3 times. In your program I only see Dowork1 called one time! So, how is it called the other 2 times? I don't see it, but it must be or why would you print Total and Count 3 times? I finally got it. The reason is there are 3 completions. First 1000, then 2000, and then 3000. Then it looks like 3000 for the last one is a smaller number, but it's actually larger. It has one more digit!
PENDING
Started
Thread2 6
Thread3 7
Thread1 5
Total = 250500250000 : 229812886499 : 259811375700
Count = 1000 : 2000 : 3000
Total = 250500250000 : 4004001000000 : 4319658391125
Count = 1000 : 2000 : 3000
1
2
3
Total = 250500250000 : 4004001000000 : 20263502250000
Count = 1000 : 2000 : 3000
Here's your program back: MHMJ115.000 Slightly modified!
JR
Here's output of the text window a little modified from your original. Thread1 is from dowork1. So, it looks like Dowork1 is ran 3 times. In your program I only see Dowork1 called one time! So, how is it called the other 2 times? I don't see it, but it must be or why would you print Total and Count 3 times? I finally got it. The reason is there are 3 completions. First 1000, then 2000, and then 3000. Then it looks like 3000 for the last one is a smaller number, but it's actually larger. It has one more digit!
PENDING
Started
Thread2 6
Thread3 7
Thread1 5
Total = 250500250000 : 229812886499 : 259811375700
Count = 1000 : 2000 : 3000
Total = 250500250000 : 4004001000000 : 4319658391125
Count = 1000 : 2000 : 3000
1
2
3
Total = 250500250000 : 4004001000000 : 20263502250000
Count = 1000 : 2000 : 3000
Here's your program back: MHMJ115.000 Slightly modified!
JR