List of usage examples for java.lang Thread subclass-usage
From source file MyThread.java
class MyThread extends Thread { MyThread(ThreadGroup group, String name) { super(group, name); } public void run() {
From source file ThreadX.java
class ThreadX extends Thread { public void run() { try { while (true) { Thread.sleep(2000);
From source file Main.java
public class Main extends Thread { private volatile boolean keepRunning = true; private boolean suspended = false; public synchronized void stopThread() { this.keepRunning = false;
From source file MTServerBase.java
class MTServerBase extends Thread { Socket socket; public void run() { try { String s = "I'm a server.";
From source file MyThread.java
class MyThread extends Thread { boolean waiting = true; boolean ready = false; public void run() { String thrdName = Thread.currentThread().getName();
From source file MyThread.java
class MyThread extends Thread { boolean stopped; MyThread(ThreadGroup tg, String name) { super(tg, name); stopped = false;
From source file TryThread.java
class TryThread extends Thread { public TryThread(String firstName, String secondName, long delay) { this.firstName = firstName; this.secondName = secondName; aWhile = delay; setDaemon(true);
From source file TryThread.java
class TryThread extends Thread { public TryThread(String firstName, String secondName, long delay) { this.firstName = firstName; this.secondName = secondName; aWhile = delay; setDaemon(true);
From source file MainClass.java
public class MainClass extends Thread { public static void main(String[] args) throws IOException { PipedWriter pw = new PipedWriter(); PipedReader pr = new PipedReader(pw); int ch; try {
From source file ThreadState.java
class ThreadState extends Thread { private boolean keepRunning = true; private boolean wait = false; private Object syncObject = null; public ThreadState(Object syncObject) {