summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc_r/uthread/uthread_info.c4
-rw-r--r--lib/libkse/thread/thr_info.c4
-rw-r--r--lib/libpthread/thread/thr_info.c4
3 files changed, 12 insertions, 0 deletions
diff --git a/lib/libc_r/uthread/uthread_info.c b/lib/libc_r/uthread/uthread_info.c
index fe6565b..2909989 100644
--- a/lib/libc_r/uthread/uthread_info.c
+++ b/lib/libc_r/uthread/uthread_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
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
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
OpenPOWER on IntegriCloud