On Mon, Sep 15, 2014 at 07:46:54PM +0200, Holger Hans Peter Freyther wrote:
> #0 *__GI___sigaction (sig=14, act=0xbfe20de4, oact=0xbfe20d58) at
> ../nptl/sigaction.c:37
> #1 0xb768539a in _gst_set_signal_handler (signum=14, handlerFunc=0)
> at sysdep/posix/signals.c:130
> #2 0xb76b2daf in signal_handler (sig=14) at events.c:82
RETSIGTYPE
signal_handler (int sig)
{
if (_gst_sem_int_vec[sig].data)
{
if (IS_CLASS (_gst_sem_int_vec[sig].data, _gst_semaphore_class))
_gst_async_call_internal (&_gst_sem_int_vec[sig]);
else
{
_gst_errorf
("C signal trapped, but no semaphore was waiting");
raise (sig);
}
}
_gst_set_signal_handler (sig, SIG_DFL);
_gst_wakeup ();
}
So, should we uncondtionally set it to SIG_IGN? Or should we only
do this for signals that would lead to termination?
_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk