3 ms·
The Counter example has a bug -- it doesn't join the threads before printing Counter.count. this could partially explain the low answer.
by aaron_m04 8y ago
The Counter example has a bug -- it doesn't join the threads before printing Counter.count. this could partially explain the low answer.
- yingw787 8y agoHi aaron_m04, I have posted a correction to the post and given you credit. Please let me know if I have made any more mistakes, I don't want to mislead any more readers. Thanks very much for your time!
- aaron_m04 8y agoGreat. Thanks for giving me credit and for updating this. Good work, by the way.