We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e7c644 commit f02d646Copy full SHA for f02d646
1 file changed
src/bthread/task_group.cpp
@@ -105,7 +105,7 @@ AtomicInteger128::Value AtomicInteger128::load() const {
105
#endif // __x86_64__ || __ARM_NEON
106
}
107
108
-void AtomicInteger128::store(Value value) {
+void AtomicInteger128::store(Value BAIDU_CACHELINE_ALIGNMENT value) {
109
#if __x86_64__
110
__m128i v = _mm_load_si128(reinterpret_cast<__m128i*>(&value));
111
_mm_store_si128(reinterpret_cast<__m128i*>(&_value), v);
0 commit comments