method

terminate

v1_9_3_392 - Show latest stable - Class: Thread
terminate()
public

Terminates thr and schedules another thread to be run. If this thread is already marked to be killed, exit returns the Thread. If this is the main thread, or the last thread, exits the process.