Re: New essay: The Best Synchronization is No Synchronization

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



It's fixed. Also added a sentence on montonic mutability, another interesting property
that the example I chose exhibits.
joe

On Wed, 06 Jun 2007 09:02:30 GMT, MrAsm <mrasm@xxxxxxx> wrote:

On Wed, 06 Jun 2007 01:52:14 -0400, Joseph M. Newcomer
<newcomer@xxxxxxxxxxxx> wrote:

http://www.flounder.com/no_synchronization.htm

Thank you.

I'm reading it.
However, I think there is a typo here:

<cite>
So in this case, if you anticipate subclasses will be created, you
would create protected methods to access the data, but declare the
actual variables PROTECTED so they cannot be accessed by any subclass.
</cite>

I think that PROTECTED in your text should be PRIVATE (because
'protected' variables can be accessed by derived classes).

MrAsm
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.