Date: Fri, 7 Sep 2012 15:10:46 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r240204 - head/sys/kern Message-ID: <201209071510.q87FAk17019947@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Fri Sep 7 15:10:46 2012 New Revision: 240204 URL: http://svn.freebsd.org/changeset/base/240204 Log: A few whitespace and comment fixes. Modified: head/sys/kern/kern_exit.c head/sys/kern/kern_thread.c Modified: head/sys/kern/kern_exit.c ============================================================================== --- head/sys/kern/kern_exit.c Fri Sep 7 14:45:59 2012 (r240203) +++ head/sys/kern/kern_exit.c Fri Sep 7 15:10:46 2012 (r240204) @@ -157,8 +157,8 @@ exit1(struct thread *td, int rv) PROC_LOCK(p); while (p->p_flag & P_HADTHREADS) { /* - * First check if some other thread got here before us.. - * if so, act apropriatly, (exit or suspend); + * First check if some other thread got here before us. + * If so, act appropriately: exit or suspend. */ thread_suspend_check(0); @@ -179,7 +179,7 @@ exit1(struct thread *td, int rv) * re-check all suspension request, the thread should * either be suspended there or exit. */ - if (! thread_single(SINGLE_EXIT)) + if (!thread_single(SINGLE_EXIT)) break; /* Modified: head/sys/kern/kern_thread.c ============================================================================== --- head/sys/kern/kern_thread.c Fri Sep 7 14:45:59 2012 (r240203) +++ head/sys/kern/kern_thread.c Fri Sep 7 15:10:46 2012 (r240204) @@ -718,7 +718,7 @@ stopme: /* * We have gotten rid of all the other threads and we * are about to either exit or exec. In either case, - * we try our utmost to revert to being a non-threaded + * we try our utmost to revert to being a non-threaded * process. */ p->p_singlethread = NULL;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209071510.q87FAk17019947>