Threads and Locking
University Projects #Operating Systems
NOTE

Click this link to view the code on GitHub.

Overview#

Implementation of threading primitives and synchronization mechanisms in C, demonstrating low-level concurrency control. Includes custom locks, spin locks, and understanding of race conditions and deadlocks.

Key Concepts#

  • Implemented spin locks using atomic operations
  • Built mutex-like locks with blocking behavior
  • Created test cases demonstrating race conditions
  • Analyzed performance tradeoffs of different approaches
  • Explored deadlock scenarios and prevention

Technologies#

C, pthreads, Atomic Operations, Spin Locks, Mutexes, Concurrency

← Back to Projects