CS 134

Lesson 2

Our Goals for this Lesson

  • Dog speaking

    I know we've been talking about things that are useful for Homework 4, but I have a question about what we did in Homework 3. We had to put in calls to OS/161's “Hangman” deadlock detector. What was that all about? And should we be worried about deadlock in Homework 4?

  • PinkRobot speaking

    Okay, let's talk about that.

In today's lesson, we'll think about bugs that can occur in concurrent programs, particularly deadlock issues and how to prevent, detect and avoid them. We'll also look at two other common concurrency bugs atomicity violations and order violations.

Outline

To receive credit: complete all pages above, then this page will be complete as well (and get a green check emoji at the bottom right of the page).

(When logged in, completion status appears here.)