Ignore:
Timestamp:
Jun 5, 2009, 1:03:18 AM (10 years ago)
Author:
gz
Message:

Merge r11497:r11498 into trunk: pass signal number through to async quit handler so can exit by resignalling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/unix-calls.c

    r11061 r12196  
    3434#include <sys/time.h>
    3535#include <stdint.h>
     36#include <signal.h>
    3637
    3738ssize_t
     
    134135  return gettimeofday(tp, tzp);
    135136}
     137
     138int
     139lisp_sigexit(int signum)
     140{
     141  signal(signum, SIG_DFL);
     142  return kill(getpid(), signum);
     143}
Note: See TracChangeset for help on using the changeset viewer.