Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 2010 15:03:55 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r204088 - head/sys/kern
Message-ID:  <201002191503.o1JF3tAE018467@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: attilio
Date: Fri Feb 19 15:03:55 2010
New Revision: 204088
URL: http://svn.freebsd.org/changeset/base/204088

Log:
  Fix the grammar.
  
  Submitted by:	Brandon Gooch <bgooch at se dot edu>

Modified:
  head/sys/kern/kern_kthread.c

Modified: head/sys/kern/kern_kthread.c
==============================================================================
--- head/sys/kern/kern_kthread.c	Fri Feb 19 14:59:41 2010	(r204087)
+++ head/sys/kern/kern_kthread.c	Fri Feb 19 15:03:55 2010	(r204088)
@@ -339,9 +339,9 @@ kthread_suspend(struct thread *td, int t
 	p = td->td_proc;
 
 	/*
-	 * td_pflags should not be ready by any other thread different by
+	 * td_pflags should not be read by any thread other than
 	 * curthread, but as long as this flag is invariant during the
-	 * thread lifetime, it is ok to check for it now.
+	 * thread's lifetime, it is OK to check its state.
 	 */
 	if ((td->td_pflags & TDP_KTHREAD) == 0)
 		return (EINVAL);
@@ -370,9 +370,9 @@ kthread_resume(struct thread *td)
 	p = td->td_proc;
 
 	/*
-	 * td_pflags should not be ready by any other thread different by
+	 * td_pflags should not be read by any thread other than
 	 * curthread, but as long as this flag is invariant during the
-	 * thread lifetime, it is ok to check for it now.
+	 * thread's lifetime, it is OK to check its state.
 	 */
 	if ((td->td_pflags & TDP_KTHREAD) == 0)
 		return (EINVAL);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002191503.o1JF3tAE018467>