[Issue 4151] New: Add weak references to Phobos/druntime
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun May 2 20:55:01 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4151
Summary: Add weak references to Phobos/druntime
Product: D
Version: future
Platform: Other
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: nfxjfg at gmail.com
--- Comment #0 from nfxjfg at gmail.com 2010-05-02 20:55:00 PDT ---
Just that.
The Java API documentation may provide a good starting point as to what weak
references should be able to do:
http://java.sun.com/javase/7/docs/api/java/lang/ref/WeakReference.html
Note that finalizers and the "hidden" rt_attach.../detach... functions are
highly unsafe and hard to get right. As an example what can go wrong if users
try to implement their own weak references, see bug 4150.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list