shithub: gefs

ref: fcf497d84bd8740b57f0b20a3982122d292009b3
dir: /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);
void*	aincp(void**, void*);

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

void	coherence(void);