We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68d4db3 commit d92834cCopy full SHA for d92834c
Core/Libraries/Source/WWVegas/WWLib/mutex.h
@@ -184,7 +184,7 @@ class FastCriticalSectionClass
184
BitSet:
185
;
186
#else
187
- while (cs.Flag.test_and_set(std::memory_order_acquire)) {
+ while (cs.Flag.test_and_set(std::memory_order_acq_rel)) {
188
cs.Flag.wait(true, std::memory_order_relaxed);
189
}
190
#endif
Core/Libraries/Source/profile/internal.h
@@ -93,7 +93,7 @@ class ProfileFastCS
93
94
void ThreadSafeSetFlag()
95
{
96
- while (Flag.test_and_set(std::memory_order_acquire)) {
+ while (Flag.test_and_set(std::memory_order_acq_rel)) {
97
Flag.wait(true, std::memory_order_relaxed);
98
99
0 commit comments