๐ Plain mutex
๐โ๏ธ Read-Write lock
โ Release all
โบ Reset
reads served:
0
ยท writes:
0
mode:
read-write lock
readers inside:
0
ยท writer:
none
ยท waiting:
0
๐ช room โ inside the lock
๐
Shared document
v3
nobody inside
โณ waiting queue
nobody waiting
๐ tray โ click an actor to request the lock
โ ๏ธ Upgrade R1โW
Two doors, one room
Click
๐ R1
, then
๐ R2
and
๐ R3
โ see how many fit inside.
โธ
Reading doesn't change the page, so readers never clash โ only a
writer
needs the room to itself.