[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A note on automatic resource management
- From: steve donovan <steve.j.donovan@...>
- Date: Sun, 23 May 2010 12:47:44 +0200
On Sun, May 23, 2010 at 12:37 PM, Florian Weimer <fw@deneb.enyo.de> wrote:
> Of course, this is just a toy example. But I fear that it's
> impossible to write correct finalizers in Lua without some concurrency
> primitives.
Thanks, Florian; I think I understand the difficulties of achieving
_deterministic_ behaviour (and man do we need that!)
> If you have got an event loop, you can run them from the event loop
> with very little risk.
Non-trivial applications usually have one, so that's cool, but what
kind of finalization mechanism could exploit this reliably?