Operating Systems Lecture Notes

13 February 2012 • Synchronization


Outline

A Common Pattern

What Could Go Wrong?

An Unfortunate Sequence

Another One

What Went Wrong?

Critical Sections

Critical Section Example

How Did It Go Wrong?

No Sharing

No Interrupts

No Interrupts Example

Are We Done?

Controlled Access

Access Control

Providing Mutual Exclusion

Mutex Transitions

Mutex Illustrated

Mutex Example

Pthreads Mutexes

Java Mutexes

Java Example

Implementing Mutexes

Oh Really?

The Cobbler’s Children

Implementing Mutexes Redux

Needs More Interrupts

Implementing Mutexes Redux

Oh Really?

One More Time

The Last Time

Summary

References

Credits


This page last modified on 2012 February 13.

Creative
    Commons License