Open GoogleCodeExporter opened 9 years ago
From my experiments, raise() and kill() have the same behaviour.
I think you need to unblock the signal, e.g.
sigset_t set;
sigemptyset(&set);
sigaddset(&set, SIGSEGV);
pthread_sigmask(SIG_UNBLOCK, &set, NULL);
Original comment by mseaborn@chromium.org
on 25 Mar 2010 at 3:32
For comparison, see glibc's abort() implementation. It also unblocks the
signal and
tries really hard to die. :-)
http://repo.or.cz/w/glibc.git/blob/HEAD:/stdlib/abort.c
Original comment by mseaborn@chromium.org
on 25 Mar 2010 at 3:45
Original issue reported on code.google.com by
mseaborn@chromium.org
on 25 Mar 2010 at 1:44