Module Name: src
Committed By: ad
Date: Mon Dec 9 21:08:56 UTC 2019
Modified Files:
src/sys/sys: mutex.h
Log Message:
Add mutex_owner_running().
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/sys/mutex.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/mutex.h
diff -u src/sys/sys/mutex.h:1.23 src/sys/sys/mutex.h:1.24
--- src/sys/sys/mutex.h:1.23 Sat Nov 30 15:34:07 2019
+++ src/sys/sys/mutex.h Mon Dec 9 21:08:56 2019
@@ -1,7 +1,7 @@
-/* $NetBSD: mutex.h,v 1.23 2019/11/30 15:34:07 riastradh Exp $ */
+/* $NetBSD: mutex.h,v 1.24 2019/12/09 21:08:56 ad Exp $ */
/*-
- * Copyright (c) 2002, 2006, 2007, 2008, 2009 The NetBSD Foundation, Inc.
+ * Copyright (c) 2002, 2006, 2007, 2008, 2009, 2019 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
@@ -199,6 +199,7 @@ int mutex_tryenter(kmutex_t *);
int mutex_owned(const kmutex_t *);
int mutex_ownable(const kmutex_t *);
lwp_t *mutex_owner(const kmutex_t *);
+bool mutex_owner_running(const kmutex_t *);
void mutex_obj_init(void);
kmutex_t *mutex_obj_alloc(kmutex_type_t, int);