Slide 1 Lecture 4: Concurrency and Threads CS 170 T Yang, 2015 Chapter 4 of AD textbook Slide 2 Chapter 4: Threads Overview thread — a fundamental unit of CPU utilization…