[Issue 2757] resource management in a timely manner

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 7 01:11:45 PDT 2009


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





------- Comment #5 from nick.barbalich at gmail.com  2009-05-07 03:11 -------
(In reply to comment #5)
> Because your solution doesn't solve even your problem.

Perhaps you would like to propose a better solution ? 

My original request was have some mechanism (not defined) to release resources
as soon as reasonably possible to prevent resource hogging.  

Perhaps if a object (e.g. buffer, lock, or handle etc) is defined, as a member
of a resource pool, then a resource process will wake-up every x.xx seconds (as
configured by the programmer) and remove any freed objects.

The programmer should be able to define multiple resource pools.

It would be desirable if the resource process could report how many resources
had been freed, every wake-up, or a defined period of time.   


-- 



More information about the Digitalmars-d-bugs mailing list