summaryrefslogtreecommitdiff
path: root/src/include/mutex.h
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-08-02 11:45:38 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-08-02 11:45:38 -0400
commitca1f47dd519a74e3e77b887f56a72661183f975a (patch)
tree352de44044070e1218b5f61b722587350ddad69e /src/include/mutex.h
parenta7c2938eb13852d946210caeefe52f2881661986 (diff)
downloadmongo-ca1f47dd519a74e3e77b887f56a72661183f975a.tar.gz
Margo's review: rename "us" to "wr", it's the writers and readers field
combined, rename "val" to "ticket", fix/reword some comments.
Diffstat (limited to 'src/include/mutex.h')
-rw-r--r--src/include/mutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/mutex.h b/src/include/mutex.h
index a64973647dc..117ac534846 100644
--- a/src/include/mutex.h
+++ b/src/include/mutex.h
@@ -33,7 +33,7 @@ typedef union { /* Read/write lock */
#else
uint64_t u;
struct {
- uint32_t us;
+ uint32_t wr; /* Writers and readers */
} i;
struct {
uint16_t writers; /* Now serving for writers */