June 9th, 2011, 12:10 PM
Multithreading DotNet4 & VB2010
And so I decided to make a multithreaded application :'(
I am new to multiple threads - so my problem is this...
1 Array of lets say 100 strings
How do I make the 4 threads access the same array - also, once one string has been used(read) - it will be removed by a function that I have written already.
So the problem I'm experiencing is that when the 1st thread removes the string from the array at that specific stage the 3rd might be accessing the array and the string returned from the array = nothing...
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.