Software Engineering KB

Home

❯

02 Programming Languages and Paradigms

❯

04 Concurrency

❯

01 Concept

❯

Spinlocks

Spinlocks

Feb 10, 20261 min read

  • concurrency
  • synchronization
  • spinlocks

Spinlocks

← Back to Synchronization Primitives

Locks where the waiting thread continuously polls (spins) to check if the lock is available, rather than sleeping. Spinlocks are useful for very short critical sections where the overhead of putting a thread to sleep and waking it exceeds the expected wait time.

Key Properties

  • Busy-wait Locks
  • Short Critical Sections

concurrency synchronization spinlocks


Graph View

  • Spinlocks
  • Key Properties

Backlinks

  • Synchronization Primitives
  • Busy-wait Locks
  • Short Critical Sections

Created with Quartz v4.5.2 © 2026

  • GitHub