Module Name:    src
Committed By:   pooka
Date:           Thu Oct 15 00:33:37 UTC 2009

Modified Files:
        src/sys/rump/include/rump: rumpuser.h

Log Message:
Add prototype for wait operation variants which do not drop any
resources (because they should be holding any in the first place).


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/rump/include/rump/rumpuser.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/rump/include/rump/rumpuser.h
diff -u src/sys/rump/include/rump/rumpuser.h:1.28 src/sys/rump/include/rump/rumpuser.h:1.29
--- src/sys/rump/include/rump/rumpuser.h:1.28	Fri Oct  9 14:41:36 2009
+++ src/sys/rump/include/rump/rumpuser.h	Thu Oct 15 00:33:37 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: rumpuser.h,v 1.28 2009/10/09 14:41:36 pooka Exp $	*/
+/*	$NetBSD: rumpuser.h,v 1.29 2009/10/15 00:33:37 pooka Exp $	*/
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -120,6 +120,7 @@
 void rumpuser_mutex_init(struct rumpuser_mtx **);
 void rumpuser_mutex_recursive_init(struct rumpuser_mtx **);
 void rumpuser_mutex_enter(struct rumpuser_mtx *);
+void rumpuser_mutex_enter_nowrap(struct rumpuser_mtx *);
 int  rumpuser_mutex_tryenter(struct rumpuser_mtx *);
 void rumpuser_mutex_exit(struct rumpuser_mtx *);
 void rumpuser_mutex_destroy(struct rumpuser_mtx *);
@@ -141,6 +142,7 @@
 void rumpuser_cv_init(struct rumpuser_cv **);
 void rumpuser_cv_destroy(struct rumpuser_cv *);
 void rumpuser_cv_wait(struct rumpuser_cv *, struct rumpuser_mtx *);
+void rumpuser_cv_wait_nowrap(struct rumpuser_cv *, struct rumpuser_mtx *);
 int  rumpuser_cv_timedwait(struct rumpuser_cv *, struct rumpuser_mtx *,
 			   struct timespec *);
 void rumpuser_cv_signal(struct rumpuser_cv *);

Reply via email to