diff options
author | julian <julian@FreeBSD.org> | 2003-02-27 02:05:19 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2003-02-27 02:05:19 +0000 |
commit | 3fc9836d46e83fd0a5d0daa46f5639be3db193c1 (patch) | |
tree | 91973dfb2c47deb06ea09f1614aa486db1bd95dd /sys/kern/kern_fork.c | |
parent | ef32e2b20964fad2388f8146483b4dc4bc569c2f (diff) | |
download | FreeBSD-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_fork.c')
-rw-r--r-- | sys/kern/kern_fork.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index 19f506c..65a3360 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -289,7 +289,7 @@ fork1(td, flags, pages, procp) return (0); } - if (p1->p_flag & P_KSES) { + if (p1->p_flag & P_THREADED) { /* * Idle the other threads for a second. * Since the user space is copied, it must remain stable. @@ -744,7 +744,7 @@ again: /* * If other threads are waiting, let them continue now */ - if (p1->p_flag & P_KSES) { + if (p1->p_flag & P_THREADED) { PROC_LOCK(p1); thread_single_end(); PROC_UNLOCK(p1); @@ -758,7 +758,7 @@ again: fail: sx_xunlock(&allproc_lock); uma_zfree(proc_zone, newproc); - if (p1->p_flag & P_KSES) { + if (p1->p_flag & P_THREADED) { PROC_LOCK(p1); thread_single_end(); PROC_UNLOCK(p1); |