public class AtomicWithDelay extends Object
Constructor and Description |
---|
AtomicWithDelay() |
AtomicWithDelay(int func,
double delay,
double coef) |
Modifier and Type | Method and Description |
---|---|
int |
addAndGet(AtomicInteger aI,
int val) |
int |
getAndAdd(AtomicInteger aI,
int val) |
int |
getAndBwAnd(AtomicInteger aI,
int val) |
int |
getAndBwOr(AtomicInteger aI,
int val) |
int |
getLocalSpinCount() |
void |
repeatCompareAndSet(AtomicInteger aI,
int cur,
int neo) |
public AtomicWithDelay()
public AtomicWithDelay(int func, double delay, double coef)
public int addAndGet(AtomicInteger aI, int val)
public int getAndAdd(AtomicInteger aI, int val)
public int getAndBwAnd(AtomicInteger aI, int val)
public int getAndBwOr(AtomicInteger aI, int val)
public void repeatCompareAndSet(AtomicInteger aI, int cur, int neo)
public int getLocalSpinCount()
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.