Description : How do you terminate a thread which is continuously executing?
Last Answer : A thread that is continuously executing has an infinite loop. Toterminate that thread you must break that loop by providing asuitable terminating condition. If the thread is a "worker" ... thread terminates. The main thread should remain activeuntil all worker threads have successfully terminated.