synchronized { }
Walter Bright
newshound1 at digitalmars.com
Wed Jun 25 23:45:33 PDT 2008
Jason House wrote:
> Walter Bright Wrote:
>
>> Right now, if you use a synchronized statement with no argument, it will
>> sync on a mutex unique to that statement.
>>
>> Does anyone write threading code that depends on this behavior?
>
> I tried to once but the design quickly outgrew the method. I wouldn't miss it.
>
> What inspires you to abandon or replace it?
The idea that there isn't a legitimate use for it.
More information about the Digitalmars-d
mailing list