Home | History | Annotate | Download | only in atomic

Lines Matching refs:prev

159         V prev, next;
161 prev = get();
162 next = updateFunction.apply(prev);
163 } while (!compareAndSet(prev, next));
164 return prev;
178 V prev, next;
180 prev = get();
181 next = updateFunction.apply(prev);
182 } while (!compareAndSet(prev, next));
202 V prev, next;
204 prev = get();
205 next = accumulatorFunction.apply(prev, x);
206 } while (!compareAndSet(prev, next));
207 return prev;
226 V prev, next;
228 prev = get();
229 next = accumulatorFunction.apply(prev, x);
230 } while (!compareAndSet(prev, next));