Display the name of the mutex we are blocked on in the state field. To
differentiate mutex names from wait channel names, prefix mutex names with an asterisk. Submitted by: Dan Nelson <dnelson@emsphone.com>
This commit is contained in:
parent
86327ad8a4
commit
089f9b7e2f
@ -587,6 +587,12 @@ char *(*get_userid)();
|
||||
else
|
||||
strcpy(status, "RUN");
|
||||
break;
|
||||
case SMTX:
|
||||
if (PP(pp, p_mtxname) != NULL) {
|
||||
sprintf(status, "*%.6s", EP(pp, e_mtxname));
|
||||
break;
|
||||
}
|
||||
/* fall through */
|
||||
case SSLEEP:
|
||||
if (PP(pp, p_wmesg) != NULL) {
|
||||
sprintf(status, "%.6s", EP(pp, e_wmesg));
|
||||
|
Loading…
Reference in New Issue
Block a user