Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Slighly improve comment for ltsleep(), the previous...



details:   https://anonhg.NetBSD.org/src/rev/7a7f2edcbc10
branches:  trunk
changeset: 509137:7a7f2edcbc10
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Fri Apr 27 08:00:03 2001 +0000

description:
Slighly improve comment for ltsleep(), the previous formulation might
be understood incorrectly (at least, it confused me at first, before
I looked at the actual code).

diffstat:

 sys/kern/kern_synch.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9bb158441726 -r 7a7f2edcbc10 sys/kern/kern_synch.c
--- a/sys/kern/kern_synch.c     Fri Apr 27 07:54:23 2001 +0000
+++ b/sys/kern/kern_synch.c     Fri Apr 27 08:00:03 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_synch.c,v 1.102 2001/04/20 17:58:49 thorpej Exp $ */
+/*     $NetBSD: kern_synch.c,v 1.103 2001/04/27 08:00:03 jdolecek Exp $        */
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -351,7 +351,7 @@
  * call should be restarted if possible, and EINTR is returned if the system
  * call should be interrupted by the signal (return EINTR).
  *
- * The interlock is held until the scheduler_slock is held.  The
+ * The interlock is held until the scheduler_slock is acquired.  The
  * interlock will be locked before returning back to the caller
  * unless the PNORELOCK flag is specified, in which case the
  * interlock will always be unlocked upon return.



Home | Main Index | Thread Index | Old Index