<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Stop!  Before you go down that road, application-level conflict resolution<br>
if an extremely advanced feature.  It&#39;s on the same level as meta classes<br>
and custom import hooks in a Python.  It&#39;s a last resort (or maybe the one<br>
after that).<br>
<br>
The first thing you need to ask yourself is why your application wants to<br>
update the same value from multiple threads.  This is a hot spot.<br>
Hot spots: bad.  Most applications will need to update the same value from<br>
multiple threads occasionally.  Occasionally retrying is fine.<br>
<br>
If your application wants to update the same value from multiple<br>
threads often, then that&#39;s a design problem you should solve.<br></blockquote><div><br></div><div>Thanks for the advice, Jim. I was going for an all-or-nothing approach (leave </div><div>all conflicts in, or try to eradicate all of them), but it does seem like some of</div>
<div>them are quite easy to resolve, and others don&#39;t matter at all if they happen</div><div>rarely. I&#39;ll take care to see if there are any other solutions, and that it&#39;s</div><div>important, before going to the application-level conflict resolution.</div>
<div><br></div><div>- Claudiu</div></div>