Week 12 - July 29-August 2

Introduction

This week we study semaphores. Semaphores provide us with a synchronization mechanism to protect shared resources used by multiple processes.

Videos

SemaphoresIntro To Computer Systems: Semaphores Explained
C Programming in Linux Tutorial #046 - Semaphore pthread

Quiz

Lecture Material

Lab

Assignment(s)

Introduction to Assignment 2.

Sample Code

Semaphores