Originally Posted by
Shynd
The mutex is used because one thread in his program will be accessing the list while another will be writing to it. Bad things happen if both happen at the same time.
And, again, because I'm apparently really, really bad at explaining things today, I meant from a code-writing standpoint, not from memory-write/access. It's easier and faster to add features to a class and access members of a class, in my opinion, than a structure. I know that classes are not faster than structures--though to what degree that is true in C#, I'm not actually sure--but the speed difference is measured in nanoseconds, these days, so the 'quicker' I'm talking about is time spent typing lines of code.