lua-users home
lua-l archive

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


> If I move the invocation of __gc from GCTM to luaC_separateudata, I
> get the desired behavior - but what implications does that have on the
> collector?

All finalizers will be called in the atomic phase, imparing the
"incrementability" of the collector.

But if you want someone to answer your questions, you should answer
their questions as well. I had asked you why do you need/want to keep in
your program a reference to an object that is going to die?

-- Roberto