shithub: gefs

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