openbsd-20021105
[openafs.git] / src / rx / OBSD / rx_kmutex.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  * 
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 /*
11  * rx_kmutex.h - mutex and condition variable macros for kernel environment.
12  *
13  * OpenBSD implementation by Jim Rees.
14  */
15
16 #ifndef _RX_KMUTEX_H_
17 #define _RX_KMUTEX_H_
18
19 #include <sys/lock.h>
20
21 /* Remind me to fix this later... */
22
23 #define MUTEX_ISMINE(a)
24 #define osirx_AssertMine(addr, msg)
25
26 #define MUTEX_DESTROY(a)
27 #define MUTEX_ENTER(a)
28 #define MUTEX_TRYENTER(a) 1
29 #define MUTEX_EXIT(a)  
30 #define MUTEX_INIT(a,b,c,d) 
31 #define CV_INIT(a,b,c,d)
32 #define CV_DESTROY(a)
33 #define AFS_ASSERT_RXGLOCK()
34
35 #endif /* _RX_KMUTEX_H_ */