synchronized (this[.classinfo]) in druntime and phobos

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu May 31 02:49:27 PDT 2012


On 5/31/12 2:45 AM, Regan Heath wrote:
> Ok, how about you tell us what term you want to use for the current
> state of affairs then, because arguing about this is pointless and I'm
> happy to use whatever term you deem appropriate (because I couldn't care
> less what the term is - as long as we all know what is meant, which I
> believe is the case here).

The idiom is called "scoped locking".

Andrei



More information about the Digitalmars-d mailing list