lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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?