lua-users home
lua-l archive

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


Thanks for the suggestion. I could where I know I want to avoid reentrancy
issues just push the GC threshold up temporarily to avoid garbage collection
being triggered. That just takes identifying all such places. Executing the
gc metamethods on a separate thread is the more general solution but takes
actually changing the code.

Mark

on 1/1/04 12:37 PM, Kevin Baca at lualist@aidiastudios.com wrote:

> How about turning GC on and off as needed?
> 
> Requires source modification.  See the luaC_checkGC macro.