diff options
author | jb <jb@FreeBSD.org> | 1998-04-17 09:39:37 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-04-17 09:39:37 +0000 |
commit | 10e0c9e2e72f2d2f75732eeba6f03e148a22ab6c (patch) | |
tree | 5e6eb2c2c028edf9155dc8294cfed1b221652c9e /lib/libkse | |
parent | 2b906f181aadab0c246afdddb833c654bcb5761e (diff) | |
download | FreeBSD-src-10e0c9e2e72f2d2f75732eeba6f03e148a22ab6c.zip FreeBSD-src-10e0c9e2e72f2d2f75732eeba6f03e148a22ab6c.tar.gz |
Allow a thread dump to report the thread's sigmask when in the
PS_SIGWAIT state.
Diffstat (limited to 'lib/libkse')
-rw-r--r-- | lib/libkse/thread/thr_info.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libkse/thread/thr_info.c b/lib/libkse/thread/thr_info.c index fe6565b..2909989 100644 --- a/lib/libkse/thread/thr_info.c +++ b/lib/libkse/thread/thr_info.c @@ -117,6 +117,10 @@ _thread_dump_info(void) sprintf(s, "owner %pr/%pw\n", _thread_fd_table[pthread->data.fd.fd]->r_owner, _thread_fd_table[pthread->data.fd.fd]->w_owner); _thread_sys_write(fd, s, strlen(s)); break; + case PS_SIGWAIT: + sprintf(s, "sigmask 0x%08lx\n", pthread->sigmask); + _thread_sys_write(fd, s, strlen(s)); + break; /* * Trap other states that are not explicitly |