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 e2bd3b1 commit b09420eCopy full SHA for b09420e
Zend/zend_atomic.h
@@ -150,7 +150,7 @@ static zend_always_inline bool zend_atomic_bool_load_ex(const zend_atomic_bool *
150
151
static zend_always_inline bool zend_atomic_bool_exchange_ex(zend_atomic_bool *obj, bool desired) {
152
bool prev = obj->value;
153
- obj->value = true;
+ obj->value = desired;
154
return prev;
155
}
156
0 commit comments