Two sequence numbers
Posted Feb 2, 2003 5:02 UTC (Sun) by
Ross (subscriber, #4065)
Parent article:
Fast reader/writer locks
Are there really two sequence numbers (one pre and one post) as the article implies? If so, why?
I don't see why this wouldn't work with only one sequence number inside the lock. The interface for readers would be the same. Is this to avoid needing atomic reads or something?
Yes, yes, I know I can go read the code.
But I'd be much happier if someone who understands this would explain it. ;)
(
Log in to post comments)