[Issue 2757] resource management in a timely manner

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 23 14:44:32 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2757


Bartosz Milewski <bartosz at relisoft.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bartosz at relisoft.com




--- Comment #7 from Bartosz Milewski <bartosz at relisoft.com>  2009-08-23 14:44:31 PDT ---
The problem of deterministic destruction can be solved by reference counting or
uniqueness. Both may be implemented in the library. D2 will have full support
for RAII using structs with the "postblit" operator, this(this). I am currently
implementing a reference-counted thread handle and, as soon as compiler bugs
are ironed out, I'll templatize it and put in the standard library.

-- 
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