package javacodebook.thread.threadlist;

/**
 * Ein DemoThread, der prinzipiell nichts tut sondern lediglich existiert.
 *
 * @author Mark Donnermeyer
 */
public class DemoThread extends Thread {

    public DemoThread(ThreadGroup tg, String name) {
        super(tg, name);
    }
    
    public void run() {
        try {
            sleep(2000);
        }
        catch (Exception ignore) {}
    }
}

