Java: Under the Hood™
Threads
Java was designed with multithreading
in mind. The Java language has synchronization and other threading
capabilities built into the language.
This course is designed for experienced
Java developers who want to understand the details of creating threads
in Java, and, more importantly, how to take advantage of Java's
threading capabilities to synchronize your threads.
Course Length:
1 day
Audience:
This course is intended for intermediate
Java programmers.
Overview
- Processes vs. Threads:
Understanding what a thread is.
- Thread Scheduling:
The lifecycle of a thread.
- Creating a Thread:
The Thread class and the Runnable
interface.
- Synchronization:
Making your Java classes thread-safe.
- The Object Monitor:
Using the wait() and notify()
methods.
|