summaryrefslogtreecommitdiff
path: root/lib/thread.h
diff options
context:
space:
mode:
authorajs <ajs>2005-01-18 22:18:59 +0000
committerajs <ajs>2005-01-18 22:18:59 +0000
commit31364274ddd1da6b77dd99e1d5d164b5c643732b (patch)
tree4f0ae083583fb605508ef981e96fb230d7110c41 /lib/thread.h
parent92365889d1f856f323af452bad76f54c15ccdf45 (diff)
2005-01-18 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* log.h: Test for SA_SIGINFO to see whether zlog_signal takes final two args (siginfo and program_counter). * log.c: (hex_append) Include this function only if SA_SIGINFO or HAVE_GLIBC_BACKTRACE is defined. (zlog_signal) Final two args (siginfo and program_counter) now depend on whether SA_SIGINFO is defined on this platform. * sigevent.c: (program_counter) Do not include this function if SA_SIGINFO is not defined on this platform. (exit_handler,core_handler) Test for SA_SIGINFO to decide whether 2nd & 3rd arguments are present and to decide how to invoke zlog_signal. (trap_default_signals) Test for SA_SIGINFO and invoke sigaction appropriately.
Diffstat (limited to 'lib/thread.h')
0 files changed, 0 insertions, 0 deletions