Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Add new declarations of cv_timedwaitbt and cv_timedw...
details: https://anonhg.NetBSD.org/src/rev/810e4ca99221
branches: trunk
changeset: 354893:810e4ca99221
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Jul 03 03:12:42 2017 +0000
description:
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!
diffstat:
sys/sys/condvar.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r e110ff5432d1 -r 810e4ca99221 sys/sys/condvar.h
--- a/sys/sys/condvar.h Mon Jul 03 02:12:47 2017 +0000
+++ b/sys/sys/condvar.h Mon Jul 03 03:12:42 2017 +0000
@@ -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 @@
#ifdef _KERNEL
+struct bintime;
struct kmutex;
void cv_init(kcondvar_t *, const char *);
@@ -47,6 +48,10 @@
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 *);
Home |
Main Index |
Thread Index |
Old Index