Qualcomm Interview Question
Software Engineer / DevelopersDepending on the nature of readers and writers and their inputs, Hashing can be introduced into the the shared storage and each hash bucket will be assigned a lock. The readers/writes should only lock concerned bucket. This will, if the hashing is done properly, ensure good level of concurrency.
http://en.wikipedia.org/wiki/Read-copy-update
- desi grad September 04, 2009