You should not. Override run instead
More Related Contents:
- How starvation occurs in producer consumer problem
- StreamCorruptedException: invalid type code: AC
- What is a daemon thread in Java?
- Avoid synchronized(this) in Java?
- How to wait for all threads to finish, using ExecutorService?
- Is there an advantage to use a Synchronized Method instead of a Synchronized Block?
- Is multi-thread output from System.out.println interleaved
- When and how should I use a ThreadLocal variable?
- Running code in main thread from another thread
- What is the difference between Thread.start() and Thread.run()?
- java thread.sleep puts swing ui to sleep too
- The difference between the Runnable and Callable interfaces in Java
- Why invoke Thread.currentThread.interrupt() in a catch InterruptException block?
- Why use a ReentrantLock if one can use synchronized(this)?
- Java Wait for thread to finish
- Is it safe to construct Swing/AWT widgets NOT on the Event Dispatch Thread?
- How to terminate a thread blocking on socket IO operation instantly?
- Waiting on multiple threads to complete in Java
- Java Server with Multiclient communication.
- ThreadLocal & Memory Leak
- How do I implement task prioritization using an ExecutorService in Java 5?
- Threads configuration based on no. of CPU-cores
- Program hangs if thread is created in static initializer block
- Where to stop/destroy threads in Android Service class?
- How pause and then resume a thread?
- Android Timer schedule vs scheduleAtFixedRate
- Timer in Java Thread
- RestTemplate should be static globally declared?
- Multithreading Socket communication Client/Server
- How to log multiple threads in different log files?