lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> I'm wondering if I'm abusing the lua environment with the way I'm forwarding
> the c interrupts from the hardware to lua, if that may cause problems.

Probably. Calling Lua from a hardware interrupt in C when Lua is running
is probably dangerous. See lua.c for a way to treat C signals, which you
may adapt to your interrupts.
--lhf