diff options
Diffstat (limited to 'lib/locking-selftest-rlock.h')
-rw-r--r-- | lib/locking-selftest-rlock.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/locking-selftest-rlock.h b/lib/locking-selftest-rlock.h new file mode 100644 index 000000000000..6789044f4d0e --- /dev/null +++ b/lib/locking-selftest-rlock.h | |||
@@ -0,0 +1,14 @@ | |||
1 | #undef LOCK | ||
2 | #define LOCK RL | ||
3 | |||
4 | #undef UNLOCK | ||
5 | #define UNLOCK RU | ||
6 | |||
7 | #undef RLOCK | ||
8 | #define RLOCK RL | ||
9 | |||
10 | #undef WLOCK | ||
11 | #define WLOCK WL | ||
12 | |||
13 | #undef INIT | ||
14 | #define INIT RWI | ||