Skip to content

Lexicon Entry

SRWLock

A high-performance synchronization primitive in Windows that allows multiple threads to read shared data simultaneously, while allowing only a single thread to exclusively write to the data. It is lightweight and does not use a kernel object in the uncontested path.

Related Knowledge & Cross-References

Guide

Windows Threads and Synchronization: Win32 API and NT Primitives

A deep dive into Windows multithreading. Learn how to manage threads with CreateThread, synchronize using SRWLocks, and build high-performance blocking mechanisms with WaitOnAddress (the Windows futex).