Searched refs:oldvalue (Results 1 – 1 of 1) sorted by relevance
104 atomic_val_t oldvalue; in ZTEST_USER() local114 oldvalue = 6; in ZTEST_USER()117 zassert_false(atomic_cas(&target, oldvalue, value), "atomic_cas"); in ZTEST_USER()119 zassert_true(atomic_cas(&target, oldvalue, value), "atomic_cas"); in ZTEST_USER()