|
|
|
|
|
by fc417fc802
482 days ago
|
|
Maybe I misunderstood. I took the first bullet to refer to wrapping operations in a lock and the second to refer to single writer multiple reader. At least in the single writer scenario it all breaks down if a lock free reader requires multiple items that are related to one another. It's an easy oversight to make though. Fixing it sucks because you usually have to go and add locking to your previously fast and efficient lock free setup. |
|
This is true -- generally the solution to this is to ask for everything in a single message.