Some doc path fixes from Anders
[pkg-k5-afs_openafs.git] / src / rx / rx_lwp.h
blob7da951707cb4d7ce4445c4914571172692261627
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
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 */
11 * rx_lwp.h - mutexes and condition variables do not exist for LWP.
14 #ifndef _RX_LWP_H_
15 #define _RX_LWP_H_
17 /* KDUMP_KERNEL is defined when kdump includes this header. */
18 #ifndef KDUMP_KERNEL
20 typedef int afs_kmutex_t;
21 typedef int afs_kcondvar_t;
23 #define CALL_HOLD(call, type)
24 #define CALL_HOLD_R(call, type)
25 #define CALL_RELE(call, type)
26 #define CALL_RELE_R(call, type)
28 #define MUTEX_DESTROY(a)
29 #define MUTEX_ENTER(a)
30 #define MUTEX_TRYENTER(a) 1
31 #define MUTEX_EXIT(a)
32 #define MUTEX_INIT(a,b,c,d)
33 #define MUTEX_ASSERT(a)
34 #define CV_INIT(a,b,c,d)
35 #define CV_DESTROY(a)
36 #define CV_WAIT(cv, l)
37 #define CV_SIGNAL(cv)
38 #define CV_BROADCAST(cv)
39 #define CV_TIMEDWAIT(cv, l, t)
41 #endif /* KERNEL */
43 #endif /* _RX_LWP_H_ */