top | item 7528127

(no title)

jjh42 | 12 years ago

If you want different threads to see the same data structure then I think you would also need a mechanism to prevent multiple threads modifying the same node and clobbering each other's changes.

discuss

order

warmfuzzykitten|12 years ago

Yes, of course. But there is a difference between read, which only requires synchronization at the root node, and write, which requires synchronization at the modified leaf and potentially all the way back up the path from leaf to root.