Proposal: Automatic Resource Management
jjb at google.com
Sat Mar 7 10:40:29 PST 2009
Sorry, I should have defined my terms. I define a "true resource" as an
object that can only used once, and then must be disposed of, never to be
On Sat, Mar 7, 2009 at 10:28 AM, Neal Gafter <neal at gafter.com> wrote:
> 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
> > the cost-benefit ratio for "true resources" is much higher than for
> > When Doug was working on JSR 166 we discussed linguistic support, but he
> > never really felt the need.
More information about the coin-dev