August 07, 2008 [Issue 2272] New: synchronized attribute documentation | ||||
---|---|---|---|---|
| ||||
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. -- |
August 14, 2008 [Issue 2272] synchronized attribute documentation | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2272 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla@digitalmars.com 2008-08-14 03:04 ------- Fixed dmd 1.034 and 2.018 -- |
Copyright © 1999-2021 by the D Language Foundation