[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Turing-incomplete Lua?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 7 Dec 2004 08:41:27 -0200
> 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.
--lhf