[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Problem with concurrency, threads, Lua states and maybe GC?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 21 Jun 2010 10:37:52 -0300
> Could you please confirm that the Lua 5.2.0 work 3 includes the fix
> to this GC-in-another-thread-while-jump issue?
I moved the threadyield call to points where the GC may be called;
these points can trigger finalizers and therefore Lua must be ready to
all kinds of changes there. (This makes tight loops that do not create
objects "atomic", however.)