rx-keep-track-of-resent-packets-20010406
[openafs.git] / src / rx / rx_lwp.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_lwp.h - mutexes and condition variables do not exist for LWP.
12  */
13
14 #ifndef _RX_LWP_H_
15 #define _RX_LWP_H_
16
17 /* KDUMP_KERNEL is defined when kdump includes this header. */
18 #ifndef KDUMP_KERNEL
19
20 #define CALL_HOLD(call, type)
21 #define CALL_RELE(call, type)
22 #define RXObtainWriteLock(a) AFS_ASSERT_RXGLOCK()
23 #define RXReleaseWriteLock(a)
24
25 #define MUTEX_DESTROY(a)
26 #define MUTEX_ENTER(a)
27 #define MUTEX_TRYENTER(a) 1
28 #define MUTEX_EXIT(a)  
29 #define MUTEX_INIT(a,b,c,d) 
30 #define CV_INIT(a,b,c,d)
31 #define CV_DESTROY(a)
32 #define osirx_AssertMine(a, b)
33
34 #endif /* KERNEL */
35
36 #endif /* _RX_LWP_H_ */