Idiomatic way of concurrently accessing a multi-level map?
<p>I'm wondering an idiomatic way of writing a concurrent multi-level map where work is done on the leaves. The constraints I've arrived at are:</p> <ul> <li>Deleting a child node should atomically write to both the parent and child nodes (i.e. lock on both N_p and N_c)</li> <li>Operating on a ch...阅读全文