Allow a thread dump to report the thread's sigmask when in the

PS_SIGWAIT state.
This commit is contained in:
jb 1998-04-17 09:39:37 +00:00
parent 5359f916be
commit e5351f3445
3 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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