We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3a9b23b + 0610ce1 commit e193851Copy full SHA for e193851
highs/parallel/HighsTask.h
@@ -122,7 +122,7 @@ class HighsTask {
122
uintptr_t xormask = reinterpret_cast<uintptr_t>(owner) ^
123
reinterpret_cast<uintptr_t>(stealer);
124
uintptr_t state =
125
- metadata.stealer.fetch_xor(xormask, std::memory_order_relaxed);
+ metadata.stealer.fetch_xor(xormask, std::memory_order_acquire);
126
127
assert(stealer != nullptr);
128
0 commit comments