Example usage for java.lang Thread subclass-usage

List of usage examples for java.lang Thread subclass-usage

Introduction

In this page you can find the example usage for java.lang Thread subclass-usage.

Usage

From source file KeyboardEmulator.java

/**
 * Created by BeyMelamed on 2/3/14.
 * Selenium Based Automation Project
 *
 * =============================================================================
 * Copyright 2014 Avraham (Bey) Melamed.

From source file org.springframework.service.ServiceShutdownThread.java

/**
 * Registered callback with Runtime.addShutdownHook.  Calls destroy on
 * the ServiceManager.
 * @author <a href="mailto:mark.pollack@codestreet.com">Mark Pollack</a>
 */
public class ServiceShutdownThread extends Thread {

From source file DeadlockDemo.java

class UseShared extends Thread {
    String s1 = "", s2 = "";

    UseShared(String name) {
        setName(name);
    }

From source file Main.java

class Locker extends Thread {
    CountDownLatch latch;
    Object obj1;
    Object obj2;

    Locker(Object obj1, Object obj2, CountDownLatch latch) {

From source file Main.java

class SocketThread extends Thread {
    Socket csocket;

    public SocketThread(Socket csocket) {
        this.csocket = csocket;
    }

From source file CreateTest.java

public class CreateTest extends Thread {
    static AtomicInteger nCalls;

    static int target = 0;

    static boolean done = false;

From source file org.springframework.service.ApplicationShutdownThread.java

/**
 * Registered callback with Runtime.addShutdownHook.  Calls destroy on
 * the BeanFactory.
 * @author <a href="mailto:mark.pollack@codestreet.com">Mark Pollack</a>
 */
public class ApplicationShutdownThread extends Thread {

From source file org.jfree.chart.demo.Comport.java

public class Comport extends Thread {

    static double data;
    private static SerialPort serialPort;
    private boolean islive = false;
    private static Clock clock = new Clock();

From source file chessMod.common.ai.AICaller.java

/**
 * MineChess
 * @author MineMaarten
 * www.minemaarten.com
 * @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
 * 

From source file Main.java

class MyThread extends Thread {
    ThreadLocal t = new MyThreadLocal();

    MyThread(String name) {
        super(name);
    }