[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lua and signal handlers
From: |
Bruno Haible |
Subject: |
Re: Lua and signal handlers |
Date: |
Wed, 01 Feb 2012 01:51:23 +0100 |
User-agent: |
KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; ) |
Reuben Thomas wrote:
> The Lua bindings install a single signal handler that triggers a
> callback at Lua's equivalent of a breakpoint. Obviously this is not
> useful for everything, but it suffices, for example, to write handlers
> for SIGTSTP and SIGWINCH (as Zile uses).
And you can guarantee that in the signal handler, Lua will not call any
libc functions other than the ones listed in the table at the end of
section 2.4.3 in
<http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html>?
Bruno