[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Closing a VM (or "Root State") when running threads
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 25 Aug 2004 11:01:50 -0300
> The problem is that I want to be able to close the root state in order
> to cause all the spawned threads to also end and be GC'ed. This
> causes a fatal error (during what seems to be the "Sweep" functions in
> LUA) when lua_close is called on the root state.
This (closing a state with suspended threads) should work without
problems, so it may be a bug. What version of Lua are you using? Can
you give more information?
-- Roberto