mirror of https://gitee.com/openkylin/linux.git
15 lines
158 B
C
15 lines
158 B
C
|
#undef LOCK
|
||
|
#define LOCK RL
|
||
|
|
||
|
#undef UNLOCK
|
||
|
#define UNLOCK RU
|
||
|
|
||
|
#undef RLOCK
|
||
|
#define RLOCK RL
|
||
|
|
||
|
#undef WLOCK
|
||
|
#define WLOCK WL
|
||
|
|
||
|
#undef INIT
|
||
|
#define INIT RWI
|