From 3fc9836d46e83fd0a5d0daa46f5639be3db193c1 Mon Sep 17 00:00:00 2001 From: julian Date: Thu, 27 Feb 2003 02:05:19 +0000 Subject: Change the process flags P_KSES to be P_THREADED. This is just a cosmetic change but I've been meaning to do it for about a year. --- sys/ddb/db_ps.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/ddb/db_ps.c') diff --git a/sys/ddb/db_ps.c b/sys/ddb/db_ps.c index a21764e..430dae8 100644 --- a/sys/ddb/db_ps.c +++ b/sys/ddb/db_ps.c @@ -125,7 +125,7 @@ db_ps(dummy1, dummy2, dummy3, dummy4) p->p_ucred != NULL ? p->p_ucred->cr_ruid : 0, pp->p_pid, p->p_pgrp != NULL ? p->p_pgrp->pg_id : 0, p->p_flag, state); - if (p->p_flag & P_KSES) + if (p->p_flag & P_THREADED) db_printf("(threaded) %s\n", p->p_comm); FOREACH_THREAD_IN_PROC(p, td) { dumpthread(p, td); @@ -141,7 +141,7 @@ db_ps(dummy1, dummy2, dummy3, dummy4) static void dumpthread(volatile struct proc *p, volatile struct thread *td) { - if (p->p_flag & P_KSES) + if (p->p_flag & P_THREADED) db_printf( " thread %p ksegrp %p ", td, td->td_ksegrp); if (TD_ON_SLEEPQ(td)) { if (td->td_flags & TDF_CVWAITQ) @@ -183,7 +183,7 @@ dumpthread(volatile struct proc *p, volatile struct thread *td) default: panic("unknown thread state"); } - if (p->p_flag & P_KSES) { + if (p->p_flag & P_THREADED) { if (td->td_kse) db_printf("[kse %p]", td->td_kse); db_printf("\n"); -- cgit v1.1