|
> A question: should the 'trap' field in struct CallInfo not be declared > 'volatile' as it is being set from a signal handler? > The 'hook' value in lua_State is declared volatile. Yes. Variables declared with type sig_atomic_t should be volatile, in general. -- Roberto