summaryrefslogtreecommitdiff
path: root/src/os_posix
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-08-03 08:22:20 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-08-03 08:22:20 -0400
commitf9c1a7a128d34ed5328730051e768337d2221937 (patch)
tree941dc85c282967453f2b35c06f92e53c97f82f8a /src/os_posix
parentc1bcfe9d983f0b3b40549d719cf322e6500fab77 (diff)
parentb577c64804f869a5708f5fbac55659d0580c1aac (diff)
downloadmongo-f9c1a7a128d34ed5328730051e768337d2221937.tar.gz
Merge branch 'mutex-overflow' into rwlock-noshift
Diffstat (limited to 'src/os_posix')
-rw-r--r--src/os_posix/os_mtx_rw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_posix/os_mtx_rw.c b/src/os_posix/os_mtx_rw.c
index c12504defe5..2b1e98907c7 100644
--- a/src/os_posix/os_mtx_rw.c
+++ b/src/os_posix/os_mtx_rw.c
@@ -90,9 +90,9 @@
*
* Readers or writers entering the system after the write lock is queued block,
* and the next ticket holder (reader or writer) will unblock when the writer
- * unlocks.
+ * unlocks. An example, continuing from the last line of the above example:
+ *
* writers readers users
- * [continued from above]
* W: ticket 3, writers match OK 3 3 4
* R: ticket 4, readers no match block 3 3 5
* R: ticket 5, readers no match block 3 3 6