RTEMS
5.0.0
cpukit
libfs
src
jffs2
include
linux
mutex.h
1
#ifndef __LINUX_MUTEX_H
2
#define __LINUX_MUTEX_H
3
4
struct
mutex
{ };
5
6
#define DEFINE_MUTEX(m) struct mutex m
7
8
static
inline
void
mutex_init(
struct
mutex
*m)
9
{
10
(void) m;
11
}
12
13
static
inline
void
mutex_lock(
struct
mutex
*m)
14
{
15
(void) m;
16
}
17
18
static
inline
int
mutex_lock_interruptible(
struct
mutex
*m)
19
{
20
(void) m;
21
return
0;
22
}
23
24
static
inline
void
mutex_unlock(
struct
mutex
*m)
25
{
26
(void) m;
27
}
28
29
#endif
mutex
Definition:
mutex.h:4
Generated by
1.8.13