RTEMS 6.1-rc6
Loading...
Searching...
No Matches
mutex.h
1#ifndef __LINUX_MUTEX_H
2#define __LINUX_MUTEX_H
3
4struct mutex { };
5
6#define DEFINE_MUTEX(m) struct mutex m
7
8static inline void mutex_init(struct mutex *m)
9{
10 (void) m;
11}
12
13static inline void mutex_lock(struct mutex *m)
14{
15 (void) m;
16}
17
18static inline int mutex_lock_interruptible(struct mutex *m)
19{
20 (void) m;
21 return 0;
22}
23
24static inline void mutex_unlock(struct mutex *m)
25{
26 (void) m;
27}
28
29#define mutex_is_locked(m) 1
30
31#endif
Definition: mutex.h:4