Latch modes
Read mode
Multiple threads can read the same object at the same time.
A thread can acquire the read latch if another thread has it in read mode.
Write mode
Only one thread can access the object.
A thread cannot acquire a write latch if another thread holds the latch in any mode.
Last updated