synchronized { }

Sean Kelly sean at invisibleduck.org
Sun Jun 29 00:43:28 PDT 2008


== Quote from Walter Bright (newshound1 at digitalmars.com)'s article
> 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?

It's certainly convenient in some instances, but obviously not necessary.  Still,
I find the current behavior to be easily understandable.


Sean



More information about the Digitalmars-d mailing list