Posted Jan 30, 2003 20:07 UTC (Thu) by cpeterso
Parent article: Fast reader/writer locks
I could imagine a livelock problem that would not exist using regular spinlocks. A reader could (theoretically) spin forever if writers keep updating the data. The reader would keep looping, trying to get the most up to date version of the data. If the reader used spinlocks, it would get its turn to read (and then the data would be overwritten and outdated by the many writers).
to post comments)