synchronized { }
janderson
askme at me.com
Fri Jun 27 19:43:32 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?
Slightly off topic.
Just a thought. If we had the ability to do block operators, or turn
functions with delegates into blocks, or any other incarnation we could
have this as a library function.
-Joel
More information about the Digitalmars-d
mailing list