From 10e0c9e2e72f2d2f75732eeba6f03e148a22ab6c Mon Sep 17 00:00:00 2001 From: jb Date: Fri, 17 Apr 1998 09:39:37 +0000 Subject: Allow a thread dump to report the thread's sigmask when in the PS_SIGWAIT state. --- lib/libpthread/thread/thr_info.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/libpthread') diff --git a/lib/libpthread/thread/thr_info.c b/lib/libpthread/thread/thr_info.c index fe6565b..2909989 100644 --- a/lib/libpthread/thread/thr_info.c +++ b/lib/libpthread/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 -- cgit v1.1