henesyinit from p9f0ed2a895 years agoHistory
17 lines · 202 B · C
RawDownload
#include <u.h>#include <libc.h>#include <threadimpl.h> voidincref(Ref *r){	// returns the old value;	_xinc(&r->ref);} longdecref(Ref *r){	// returns the new value;	return _xdec(&r->ref);}