summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/include/mutex.h
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2019-10-15 00:55:34 +0000
committerevergreen <evergreen@mongodb.com>2019-10-15 00:55:34 +0000
commitd819272026fd1c21b9fb18ae692648cfa590aa68 (patch)
treee2a59514b2c5f84f76b7aec09b2ec850d0f753dc /src/third_party/wiredtiger/src/include/mutex.h
parentac0b3c4052e88c6626b4bd3129d4190e2d0aa179 (diff)
downloadmongo-d819272026fd1c21b9fb18ae692648cfa590aa68.tar.gz
Import wiredtiger: af2cb8f052184a94635c3bfc358620dd36df5828 from branch mongodb-4.4
ref: 3818fb14bd..af2cb8f052 for: 4.3.1 WT-4972 Add new RHEL Evergreen build variant WT-4975 Migrate Jenkins “wiredtiger-pull-request-asan” job to Evergreen WT-5123 Fill multi-paragraph comments WT-5150 LAS sweep is not removing the entries that are no longer required WT-5161 Remove deprecated git.apply_patch WT-5163 Fix ignored failure return in WT_CURSOR.next when random retrieval configured WT-5164 Fix inconsistent underscore/dash output WT-5166 Allow configuring configure flags in evergreen builds
Diffstat (limited to 'src/third_party/wiredtiger/src/include/mutex.h')
-rw-r--r--src/third_party/wiredtiger/src/include/mutex.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/third_party/wiredtiger/src/include/mutex.h b/src/third_party/wiredtiger/src/include/mutex.h
index 63283c92633..d65eea97b68 100644
--- a/src/third_party/wiredtiger/src/include/mutex.h
+++ b/src/third_party/wiredtiger/src/include/mutex.h
@@ -9,8 +9,8 @@
/*
* Condition variables:
*
- * WiredTiger uses condition variables to signal between threads, and for
- * locking operations that are expected to block.
+ * WiredTiger uses condition variables to signal between threads, and for locking operations that
+ * are expected to block.
*/
struct __wt_condvar {
const char *name; /* Mutex name for debugging */
@@ -88,9 +88,8 @@ struct __wt_rwlock { /* Read/write lock */
/*
* Spin locks:
*
- * WiredTiger uses spinlocks for fast mutual exclusion (where operations done
- * while holding the spin lock are expected to complete in a small number of
- * instructions).
+ * WiredTiger uses spinlocks for fast mutual exclusion (where operations done while holding the spin
+ * lock are expected to complete in a small number of instructions).
*/
#define SPINLOCK_GCC 0
#define SPINLOCK_MSVC 1