Synchronized methods in D2

bearophile bearophileHUGS at lycos.com
Sun Sep 5 08:19:20 PDT 2010


Jonathan M Davis:
> Also, according to TDPL, either your _entire class_ is synchronized, or none of 
> it is. So, synchronized really belongs on the class, not the function, and I 
> wouldn't expect it to compile if only a portion of your functions are 
> synchronized (though I don't know how close the current dmd is to TPDL with 
> regards to synchronized).

If not already present, I suggest to add this to Bugzilla.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list