List of usage examples for java.lang Thread subclass-usage
From source file MainClass.java
public class MainClass extends Thread { // This field is volatile because two different threads may access it volatile boolean keepRunning = true; public MainClass() { setDaemon(true);
From source file Main.java
public class Main extends Thread { // This field is volatile because two different threads may access it volatile boolean keepRunning = true; public Main() { setDaemon(true);
From source file MyThread.java
class MyThread extends Thread { boolean waiting = true; boolean ready = false; MyThread() { }
From source file StartTogetherTask.java
class StartTogetherTask extends Thread { private Phaser phaser; private String taskName; private static Random rand = new Random(); public StartTogetherTask(String taskName, Phaser phaser) {
From source file NewThread.java
class NewThread extends Thread { boolean suspendFlag; NewThread(String threadname, ThreadGroup tgOb) { super(tgOb, threadname); suspendFlag = false;
From source file LatchHelperService.java
class LatchHelperService extends Thread { private int ID; private CountDownLatch latch; public LatchHelperService(int ID, CountDownLatch latch) { this.ID = ID;
From source file ThreadTask.java
class ThreadTask extends Thread { private ThreadPool pool; public ThreadTask(ThreadPool thePool) { pool = thePool; }
From source file Producer.java
class Producer extends Thread { Queue queue; Producer(Queue queue) { this.queue = queue; }
From source file MyThread.java
class MyThread extends Thread { private PipedReader pr; private PipedWriter pw; MyThread(String name, PipedReader pr, PipedWriter pw) {
From source file Consumer.java
class Consumer extends Thread { private Buffer buffer; public Consumer(Buffer buffer) { this.buffer = buffer; }