Skip to main content

Spinlocks

  • Chapter
  • First Online:
Pro SQL Server 2019 Wait Statistics
  • 748 Accesses

Abstract

Spinlocks are described by Microsoft as “lightweight synchronization primitives.” The description looks a lot like the one used for latches, which are described as “lightweight synchronization objects.” This is no coincidence, as spinlocks and latches have a lot in common and both are used to serialize access to internal data structures. Both latches and spinlocks are used when access to objects needs to be held for a very short amount of time.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Enrico van de Laar

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

van de Laar, E. (2019). Spinlocks. In: Pro SQL Server 2019 Wait Statistics. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4916-1_15

Download citation

Publish with us

Policies and ethics