summaryrefslogtreecommitdiff
path: root/src/include/msvc.h
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-08-13 19:36:56 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-08-13 19:36:56 -0400
commit368f622ba7e7eaca691ba4a4a433c614709bdbea (patch)
treeba6b240debade7e04335658cd95342ffc1a4c5b5 /src/include/msvc.h
parent7c1abeab21aa31f4b73f1974a6cbdd56cea0bc7c (diff)
downloadmongo-368f622ba7e7eaca691ba4a4a433c614709bdbea.tar.gz
Rename atomic functions from number of bytes to number of bits.
Diffstat (limited to 'src/include/msvc.h')
-rw-r--r--src/include/msvc.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/include/msvc.h b/src/include/msvc.h
index c9d2c1e8382..3066e33c660 100644
--- a/src/include/msvc.h
+++ b/src/include/msvc.h
@@ -59,16 +59,16 @@ __wt_atomic_cas##name(type *vp, type old, type new) \
((t *)(vp), (t)(new), (t)(old)) == (t)(old)); \
}
-WT_ATOMIC_FUNC(1, uint8_t, uint8_t, 8, char)
-WT_ATOMIC_FUNC(2, uint16_t, uint16_t, 16, short)
-WT_ATOMIC_FUNC(4, uint32_t, uint32_t, , long)
-WT_ATOMIC_FUNC(v4, uint32_t, volatile uint32_t, , long)
-WT_ATOMIC_FUNC(i4, int32_t, int32_t, , long)
-WT_ATOMIC_FUNC(iv4, int32_t, volatile int32_t, , long)
-WT_ATOMIC_FUNC(8, uint64_t, uint64_t, 64, __int64)
-WT_ATOMIC_FUNC(v8, uint64_t, volatile uint64_t, 64, __int64)
-WT_ATOMIC_FUNC(i8, int64_t, int64_t, 64, __int64)
-WT_ATOMIC_FUNC(iv8, int64_t, volatile int64_t, 64, __int64)
+WT_ATOMIC_FUNC(8, uint8_t, uint8_t, 8, char)
+WT_ATOMIC_FUNC(16, uint16_t, uint16_t, 16, short)
+WT_ATOMIC_FUNC(32, uint32_t, uint32_t, , long)
+WT_ATOMIC_FUNC(v32, uint32_t, volatile uint32_t, , long)
+WT_ATOMIC_FUNC(i32, int32_t, int32_t, , long)
+WT_ATOMIC_FUNC(iv32, int32_t, volatile int32_t, , long)
+WT_ATOMIC_FUNC(64, uint64_t, uint64_t, 64, __int64)
+WT_ATOMIC_FUNC(v64, uint64_t, volatile uint64_t, 64, __int64)
+WT_ATOMIC_FUNC(i64, int64_t, int64_t, 64, __int64)
+WT_ATOMIC_FUNC(iv64, int64_t, volatile int64_t, 64, __int64)
/*
* __wt_atomic_cas_ptr --