Proposal: Automatic Resource Management (original) (raw)

Neal Gafter neal at gafter.com
Sat Mar 7 10:28:33 PST 2009


Although I understand this proposal does not address locks (among others), holding a lock is most definitely holding a "true resource".

On Sat, Mar 7, 2009 at 10:19 AM, Joshua Bloch <jjb at google.com> wrote:

If people feel that the locking case is important, I encourage them to pursue it with another proposal.  I suspect that it won't be difficult to write.  But I am less certain that it will pay for itself.  I believe that the cost-benefit ratio for "true resources" is much higher than for locks.  When Doug was working on JSR 166 we discussed linguistic support, but he never really felt the need.



More information about the coin-dev mailing list