OpenCloudOS-Kernel/lib/locking-selftest-rlock.h

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