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