summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exit.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2003-02-27 02:05:19 +0000
committerjulian <julian@FreeBSD.org>2003-02-27 02:05:19 +0000
commit3fc9836d46e83fd0a5d0daa46f5639be3db193c1 (patch)
tree91973dfb2c47deb06ea09f1614aa486db1bd95dd /sys/kern/kern_exit.c
parentef32e2b20964fad2388f8146483b4dc4bc569c2f (diff)
downloadFreeBSD-src-3fc9836d46e83fd0a5d0daa46f5639be3db193c1.zip
FreeBSD-src-3fc9836d46e83fd0a5d0daa46f5639be3db193c1.tar.gz
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.
Diffstat (limited to 'sys/kern/kern_exit.c')
-rw-r--r--sys/kern/kern_exit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index 2e0e709..59a1a4c 100644
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -150,7 +150,7 @@ exit1(td, rv)
* XXXKSE: MUST abort all other threads before proceeding past here.
*/
PROC_LOCK(p);
- if (p->p_flag & P_KSES) {
+ if (p->p_flag & P_THREADED) {
/*
* First check if some other thread got here before us..
* if so, act apropriatly, (exit or suspend);
@@ -180,7 +180,7 @@ exit1(td, rv)
* ...
* Turn off threading support.
*/
- p->p_flag &= ~P_KSES;
+ p->p_flag &= ~P_THREADED;
thread_single_end(); /* Don't need this any more. */
}
/*
OpenPOWER on IntegriCloud