Files
MaxScale/server/core/test
Markus Mäkelä ef53ded057 Fix test_atomic
As the function documentation states, the expected value must be read
again after a call to atomic_cas_ptr. This is due to the fact that if the
values are not the same, the __atomic builtin version will store the
current value into the expected value.

The new value given to the atomic_cas_ptr function was the address of the
new value, not the new value itself. The behavior of the atomic_cas_ptr is
what caused the test to pass on systeems that implement the __atomic
builtins. On older systems that do not implement it, the expected value
was never modified which caused the test to hang.
2018-01-22 15:29:21 +02:00
..
2018-01-22 15:29:21 +02:00
2014-08-20 11:07:28 +01:00
2018-01-22 15:29:21 +02:00
2017-11-10 14:45:54 +02:00
2017-11-10 14:45:54 +02:00
2017-11-22 18:40:18 +02:00
2017-11-22 18:40:18 +02:00
2017-11-10 14:45:54 +02:00
2017-11-10 14:45:54 +02:00
2017-11-10 14:45:54 +02:00
2017-11-10 14:45:54 +02:00
2018-01-05 09:58:10 +02:00
2017-11-10 14:45:54 +02:00
2017-11-10 14:45:54 +02:00
2017-11-10 14:45:54 +02:00
2017-11-10 14:45:54 +02:00
2017-11-10 14:45:54 +02:00
2017-11-10 14:45:54 +02:00
2017-11-22 18:40:18 +02:00
2017-11-10 14:45:54 +02:00
2017-11-10 14:45:54 +02:00
2017-11-10 14:45:54 +02:00
2017-12-29 08:42:49 +02:00
2017-11-10 14:45:54 +02:00
2017-11-10 14:45:54 +02:00
2018-01-16 09:47:49 +02:00