synchronized { }

Jason House jason.james.house at gmail.com
Wed Jun 25 19:22:57 PDT 2008


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?



More information about the Digitalmars-d mailing list