[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: GC causes unexpected reentrancy
- From: Mark Hamburg <mhamburg@...>
- Date: Thu, 01 Jan 2004 16:29:29 -0800
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.