G
Guest
Hi,
I need a data structure such as an Array/ArrayList/Generic List to hold
multiple instances of a user derfined class.
This array will be accessed across multiple threads. However I dont want to
lock the array itself as this will cause poor performance due to the array
being accessed frequently.
If I make the User defined class threadsafe will this be enough to make
operations on the array thread safe and will this work?
Thanks
Macca
I need a data structure such as an Array/ArrayList/Generic List to hold
multiple instances of a user derfined class.
This array will be accessed across multiple threads. However I dont want to
lock the array itself as this will cause poor performance due to the array
being accessed frequently.
If I make the User defined class threadsafe will this be enough to make
operations on the array thread safe and will this work?
Thanks
Macca