Synchronized Classes and Struct Members

Andrew Wiley wiley.andrew.j at gmail.com
Tue Oct 25 09:24:32 PDT 2011


On Tue, Oct 25, 2011 at 8:06 AM, Gor Gyolchanyan <
gor.f.gyolchanyan at gmail.com> wrote:

> And so you can have both thread-safe synchronized heavy-duty container
> and a fast and small container all in one just by overloading the
> appropriate methods and adding appropriate synchronization blocks in
> the shared ones.
> This is one of those "little" advantages of D over C++, that make my
> life _SO_ much easier.
>
>
Except that overloading shared and non-shared methods is not allowed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20111025/3d61a2c4/attachment.html>


More information about the Digitalmars-d mailing list