[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Turing-incomplete Lua?
- From: "Ivaylo Beltchev" <ivo@...>
- Date: Tue, 7 Dec 2004 09:06:03 -0800
> > What is the proper way to terminate a running lua_State from another thread?
> In ANSI C, you can do as in lua.c for handling signals: set a hook for
> the running state and then raise an error. See laction and lstop in lua.c.
> Of course, you don't need to do this only in response to signals being raised.
Thanks. Is it safe to call lua_sethook from another thread?