Hey guys, my main thread seems to stop when i start 2 new threads and start them off. It sits and waits for the 2 threads to finish.

The two threads are created off a factory class. Is this why? Its not created in the GUI class?

Cheers.

when those others are launched, does it contain something like ?

Thread.CurrentThread.Suspend()

or

myThreadName.Join()

it contains a join(), but shouldn't all threads spawned from the parent contain this?

the join will let you know when the thread has been completed, but will also block the calling thread (as in your case the ui is unresponsive), when waiting for the threads to complete

i'm not sure how your threads exit, but while waiting you can check either ThreadState or IsAlive

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.