[Top][All Lists]

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

Re: [Help-smalltalk] SIGALRM and default handler

From: Holger Hans Peter Freyther
Subject: Re: [Help-smalltalk] SIGALRM and default handler
Date: Mon, 15 Sep 2014 20:19:22 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

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

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]);
            ("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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]