Module Name:    src
Committed By:   apb
Date:           Fri Mar  8 08:36:38 UTC 2013

Modified Files:
        src/sys/kern: kern_condvar.c

Log Message:
also comment on the meaning of timo=0 for cv_timedwait_sig.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/kern/kern_condvar.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/kern_condvar.c
diff -u src/sys/kern/kern_condvar.c:1.31 src/sys/kern/kern_condvar.c:1.32
--- src/sys/kern/kern_condvar.c:1.31	Fri Mar  8 08:35:09 2013
+++ src/sys/kern/kern_condvar.c	Fri Mar  8 08:36:37 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: kern_condvar.c,v 1.31 2013/03/08 08:35:09 apb Exp $	*/
+/*	$NetBSD: kern_condvar.c,v 1.32 2013/03/08 08:36:37 apb Exp $	*/
 
 /*-
  * Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_condvar.c,v 1.31 2013/03/08 08:35:09 apb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_condvar.c,v 1.32 2013/03/08 08:36:37 apb Exp $");
 
 #include <sys/param.h>
 #include <sys/proc.h>
@@ -268,6 +268,8 @@ cv_timedwait(kcondvar_t *cv, kmutex_t *m
  *	exiting.  Returns zero if awoken normally, EWOULDBLOCK if the
  *	timeout expires, ERESTART if a signal was received and the system
  *	call is restartable, or EINTR otherwise.
+ *
+ *	timo is a timeout in ticks.  timo = 0 specifies an infinite timeout.
  */
 int
 cv_timedwait_sig(kcondvar_t *cv, kmutex_t *mtx, int timo)

Reply via email to