Changeset f8830a7


Ignore:
Timestamp:
Nov 4, 2015 3:01:56 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
3e25ff2
Parents:
b15ea8b
Message:

Threads: More conversions to I2PAppThread

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • apps/addressbook/java/src/net/i2p/addressbook/DaemonThread.java

    rb15ea8b rf8830a7  
    2626import net.i2p.I2PAppContext;
    2727import net.i2p.client.naming.NamingServiceUpdater;
     28import net.i2p.util.I2PAppThread;
    2829
    2930/**
     
    3334 *
    3435 */
    35 public class DaemonThread extends Thread implements NamingServiceUpdater {
     36public class DaemonThread extends I2PAppThread implements NamingServiceUpdater {
    3637
    3738    private String[] args;
  • apps/jetty/java/src/net/i2p/jetty/JettyStart.java

    rb15ea8b rf8830a7  
    2727import net.i2p.app.*;
    2828import static net.i2p.app.ClientAppState.*;
     29import net.i2p.util.I2PAppThread;
    2930import net.i2p.util.PortMapper;
    3031
     
    110111    }
    111112
    112     private class Starter extends Thread {
     113    private class Starter extends I2PAppThread {
    113114        public Starter() {
    114115            super("JettyStarter");
     
    162163    }
    163164
    164     private class Stopper extends Thread {
     165    private class Stopper extends I2PAppThread {
    165166        public Stopper() {
    166167            super("JettyStopper");
  • core/java/src/net/i2p/util/LogManager.java

    rb15ea8b rf8830a7  
    764764    private static final AtomicInteger __id = new AtomicInteger();
    765765
    766     private class ShutdownHook extends Thread {
     766    private class ShutdownHook extends I2PAppThread {
    767767        private final int _id;
    768768        public ShutdownHook() {
  • core/java/src/net/i2p/util/ShellCommand.java

    rb15ea8b rf8830a7  
    5252     * @author hypercubus
    5353     */
    54     private class CommandThread extends Thread {
     54    private class CommandThread extends I2PAppThread {
    5555        private final boolean consumeOutput;
    5656        private final Object shellCommand;
     
    8585     * @author hypercubus
    8686     */
    87     private static class StreamConsumer extends Thread {
     87    private static class StreamConsumer extends I2PAppThread {
    8888        private final BufferedReader bufferedReader;
    8989
     
    116116     * @author hypercubus
    117117     */
    118     private static class StreamReader extends Thread {
     118    private static class StreamReader extends I2PAppThread {
    119119        private final BufferedReader bufferedReader;
    120120
     
    150150     * @author hypercubus
    151151     */
    152     private static class StreamWriter extends Thread {
     152    private static class StreamWriter extends I2PAppThread {
    153153        private final BufferedWriter bufferedWriter;
    154154
Note: See TracChangeset for help on using the changeset viewer.