diff options
author | maxim <maxim@FreeBSD.org> | 2006-06-09 14:23:40 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2006-06-09 14:23:40 +0000 |
commit | 7b9c5e1df6503fe2de55b89754f8cf3cf2a1735a (patch) | |
tree | 4cc59b7fbcf327d22eafb5278b6b45f6ad0a4b52 /lib/libpthread/thread/thr_sig.c | |
parent | f39caee822f1504e4b901a537c04cece488995a1 (diff) | |
download | FreeBSD-src-7b9c5e1df6503fe2de55b89754f8cf3cf2a1735a.zip FreeBSD-src-7b9c5e1df6503fe2de55b89754f8cf3cf2a1735a.tar.gz |
o Remove a cruft prevented libpthread sigaction(2) wrapper to
do its work for SIGINFO. Always install libpthread signal handler
wrapper for SIGINFO even if user SIG_IGN's or SIG_DFL's it.
SIGINFO has a special meaning for libpthread: when LIBPTHREAD_DEBUG
enviroment variable defined it is used for dumping an information
about threads to /tmp/.
Reported by: mi
Reviewed by: deischen
MFC after: 2 weeks
Diffstat (limited to 'lib/libpthread/thread/thr_sig.c')
-rw-r--r-- | lib/libpthread/thread/thr_sig.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/libpthread/thread/thr_sig.c b/lib/libpthread/thread/thr_sig.c index f53b87f..116f9f6 100644 --- a/lib/libpthread/thread/thr_sig.c +++ b/lib/libpthread/thread/thr_sig.c @@ -98,12 +98,6 @@ static int sigproptbl[NSIG] = { #define DBG_MSG(x...) #endif -static __inline int -_thr_dump_enabled(void) -{ - return ((_thr_debug_flags & DBG_INFO_DUMP) != 0); -} - /* * Signal setup and delivery. * |