Slides Concurrency Managing Threads Introduction To The ExecutorService SingleThreadExecutorService
Slides Concurrency Managing Threads Introduction To The ExecutorService SingleThreadExecutorService
These are the ExecutorService classes, and they exist to manage the creation and
execution of threads.
When using a Thread class, you have rudimentary control over that thread.
You can interrupt a thread, and join it to another thread.
You can name the thread, try to prioritize it, and start each manually, one at a time.
You can also pass it an UncaughtExceptionHandler, to deal with exceptions that
happen in a thread.