svn commit: r252357 - head/sys/kern

Davide Italiano davide at FreeBSD.org
Fri Jun 28 21:04:15 UTC 2013


Author: davide
Date: Fri Jun 28 21:04:15 2013
New Revision: 252357
URL: http://svnweb.freebsd.org/changeset/base/252357

Log:
  Correct the comment above _sleep() function which still mentions 'timo'
  instead of 'sbintime_t'.
  
  Reported by:	kan

Modified:
  head/sys/kern/kern_synch.c

Modified: head/sys/kern/kern_synch.c
==============================================================================
--- head/sys/kern/kern_synch.c	Fri Jun 28 21:00:08 2013	(r252356)
+++ head/sys/kern/kern_synch.c	Fri Jun 28 21:04:15 2013	(r252357)
@@ -132,7 +132,7 @@ sleepinit(void)
 /*
  * General sleep call.  Suspends the current thread until a wakeup is
  * performed on the specified identifier.  The thread will then be made
- * runnable with the specified priority.  Sleeps at most timo/hz seconds
+ * runnable with the specified priority.  Sleeps at most sbt units of time
  * (0 means no timeout).  If pri includes the PCATCH flag, let signals
  * interrupt the sleep, otherwise ignore them while sleeping.  Returns 0 if
  * awakened, EWOULDBLOCK if the timeout expires.  If PCATCH is set and a


More information about the svn-src-all mailing list