shithub: riscv

ref: 511421003a44633d8907828aef280acc762cc56b
dir: /sys/src/cmd/gefs/atomic.h/

View raw version
long	agetl(long*);
vlong	agetv(vlong*);
void*	agetp(void**);

long	asetl(long*, long);
vlong	asetv(vlong*, vlong);
void*	asetp(void**, void*);

long	aincl(long*, long);
vlong	aincv(vlong*, vlong);

int	acasl(long*, long, long);
int	acasv(vlong*, vlong, vlong);
int	acasp(void**, void*, void*);

void	coherence(void);