shithub: riscv

ref: f88a55e79b5bf656e7f9578d1318a955b9a4963a
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);