digitalmars.D.bugs - [Issue 2272] New: synchronized attribute documentation
- d-bugmail puremagic.com (23/23) Aug 06 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2272
- d-bugmail puremagic.com (9/9) Aug 14 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2272
http://d.puremagic.com/issues/show_bug.cgi?id=2272 Summary: synchronized attribute documentation Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P3 Component: www.digitalmars.com AssignedTo: bugzilla digitalmars.com ReportedBy: o.dathe gmx.de The synchronized attribute for class methods should be documented somewhere in attribute.html and/or in class.html. Most importantly it should be mentioned that it represents a monitor operation and thus behaves like in Java or like synchronized(this). There seems to be confusion about that quite often. Additionally the case for static synchronized methods should be mentioned (uses classinfo?). Since one might assume the synchronized attribute works like the synchronized{} statement one might also assume the synchronized method becomes a distinct critical section. This misunderstanding should also be cleared out in statement.html. --
Aug 06 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2272 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed dmd 1.034 and 2.018 --
Aug 14 2008