Module 6 | Parallelism: threads and introduction to synchronisation¶
Objective¶
By the end of this module, students will be able to:
- Use threads
- Use mechanisms (monitors, locks,…) to synchronize threads
- Use basic thread-safe data structures
Resources: Part 1 (Threads, Monitors, Wait and Notify)¶
Slides
Threads and thread pools (PDF file)
Race conditions and monitors (PDF file)
wait() and notify() (PDF file)
Youtube playlist:
Java code examples:
Exercises: