[Issue 2757] resource management in a timely manner

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 25 03:57:47 PDT 2009


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





--- Comment #8 from nick barbalich <nick.barbalich at gmail.com>  2009-08-25 03:57:45 PDT ---
(In reply to comment #7)
> 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.

Bartosz - Thanks for the reply. I found this reference to "postblit": 
http://www.puremagic.com/~braddr/phobos-trunk/2.0/struct.html#StructPostblit  

But I use the Tango library.  Will an example be available in Tango, or will
there be an equivalent available for Tango ?

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