Hacker News new | ask | show | jobs
by stonemetal 5330 days ago
No, a read write lock is a lock designed so that multiple readers can hold the lock, but only a single writer can hold the lock. That way readers know no write is taking place(as many reads as you like can take place), and writers know they have exclusive access.
1 comments

Yes, but keep in mind that while the write lock is in place, reads are blocked, not just writes.