Hi Richard,
I don't have the code, but this raises an interesting question to me.
Doing 10 things simultaneously isn't necessary quicker and may actually be
slower... right or wrong?
Unless in each thread there is some latency time that the thread must wait
for I/O or something that another thread might be operating. Because unless
you have more than one processor, nothing actually happens at the same time,
just the process's time is divided per thread... am I right on this?
Sorry I don't have the code.. but also wanted to know an answer to my
question about your question.
Shane
"Richard Aubin" <rca_hyip@@hotmail.com> wrote in message
news:(E-Mail Removed)...
> Hello all,
>
> I have the following nested loop structure that I would love to convert to
x
> amount of threads:
>
> For i = 0 To 100
> For j = 0 To 100
> For k = 0 To 100
> Console.WriteLine("k = " & k)
> Next
> Console.WriteLine("j = " & j)
> Next
> Console.WriteLine("i =" & i)
> Next
>
> This process is based on existing code that I have that is taking well
over
> 1 hour to complete.
>
> Could someone provide me with example code to convert this to
> multithreading, say 10 threads at once?
>
>