mooc-notes

Notes from online courses

View on GitHub

Applying Concurrency and Multi-threading to Common Java Patterns - Pluralsight course by Jose´ Paumard

Module 1 - Understanding Concurrency, Threading and Synchronisation

Course Overview
Pre-requisites
Course Agenda
  1. Understanding concurrency, threading and synchronisation
  2. Implementing the producer / consumer pattern using wait / notify
  3. Ordering reads and writes operations on a multicore CPU
  4. Implementing a thread safe singleton on a multicore CPU
What is a Thread?
What does “at the same time” mean?
Who is responsible for the CPU sharing?
Race condition
Example: Singleton Pattern
Synchronization
How can we designate this synchronization object?
Synchronizing More Than One Method

Corner case

to be continued…