()
| 199 | |
| 200 | /// Stops the thread once the current task completes |
| 201 | public void kill() { |
| 202 | synchronized (LOCK) { |
| 203 | running = false; |
| 204 | LOCK.notifyAll(); |
| 205 | } |
| 206 | } |
| 207 | |
| 208 | /// Returns true if the current thread is the easy thread and false othewise similar |
| 209 | /// to the isEDT method |