On 11/29/2010 11:54 AM, Tom Hobbs wrote:
and is no means perfect in all cases. Synchronizing the methods makes this less-difficult to make mistakes with, so given that performance isn't an issue I'd got for that rather than synchronizing on _count.
Even if performance is an issue, "less-difficult to make mistakes with" has a very high priority for me.