CSCI 415/515 - Fall 2023
Systems Programming
Threads


Friday, Nov 10, 2023

Readings
The Linux Programming Interface:
  • Ch 29: Threads: Introduction
    • 29.1: Overview
    • 29.2: Background Details of the Pthreads API
    • 29.3: Thread Creation
    • 29.4: Thread Termination
    • 29.5: Threads IDs
    • 29.6: Joining with a Terminated Thread
    • 29.7: Detaching a Thread
    • 29.8: Thread Attributes
    • 29.9: Threads Versus Processes
Materials

Monday, Nov 12, 2023

Readings
The Linux Programming Interface:
  • Ch 30: Threads: Thread Synchronization
    • 30.1: Protecting Accesses to Shared Variables: Mutexes
Materials

Wednesday, Nov 14, 2023

Readings
The Linux Programming Interface:
  • Ch 30: Threads: Thread Synchronization
    • 30.2: Signaling Changes of State: Condition Variables
Materials

Friday, Nov 16, 2023

Readings
The Linux Programming Interface:
  • Ch 31: Threads: Thread Safety and Per-Thread Storage
    • 31.1: Thread Safety (and Reentrancy Revisited)
    • 31.2: One-Time Initialization
    • 31.3: Thread-Specific Data
    • 31.4: Thread-Local Storage
Materials