vb.net help with threads

e33tad

Broken In
I will change my question as i the previous one is solved.

Can a thread be temporarily suspended from another thread..?

Say i have a thread A in a loop which checks and downloads some data . now i have to start another thread b which has to connect to the net. is there a way that when thread b is starting, thread a is automatically suspended.( something like timeout.infinite) and when b has completed executing, thread a is resumed to normal.

also i had another question. Say i have executed a function in a thread (not in a loop). when the function is executed will the thread stop there (i mean will it abort)?
 
Last edited:
Top Bottom