Module Name: src Committed By: riastradh Date: Mon Jul 3 03:12:43 UTC 2017
Modified Files: src/sys/sys: condvar.h Log Message: Add new declarations of cv_timedwaitbt and cv_timedwaitbt_sig, too. Helps to put all the files I meant to commit on the command line! Noted by pgoyette, thanks! To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/sys/condvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/condvar.h diff -u src/sys/sys/condvar.h:1.13 src/sys/sys/condvar.h:1.14 --- src/sys/sys/condvar.h:1.13 Sat Apr 9 16:59:43 2016 +++ src/sys/sys/condvar.h Mon Jul 3 03:12:42 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: condvar.h,v 1.13 2016/04/09 16:59:43 riastradh Exp $ */ +/* $NetBSD: condvar.h,v 1.14 2017/07/03 03:12:42 riastradh Exp $ */ /*- * Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc. @@ -38,6 +38,7 @@ typedef struct kcondvar { #ifdef _KERNEL +struct bintime; struct kmutex; void cv_init(kcondvar_t *, const char *); @@ -47,6 +48,10 @@ void cv_wait(kcondvar_t *, struct kmutex int cv_wait_sig(kcondvar_t *, struct kmutex *); int cv_timedwait(kcondvar_t *, struct kmutex *, int); int cv_timedwait_sig(kcondvar_t *, struct kmutex *, int); +int cv_timedwaitbt(kcondvar_t *, struct kmutex *, struct bintime *, + const struct bintime *); +int cv_timedwaitbt_sig(kcondvar_t *, struct kmutex *, struct bintime *, + const struct bintime *); void cv_signal(kcondvar_t *); void cv_broadcast(kcondvar_t *);