1 2 3 4 5 6 7 8 9 10 11 12 13
#include "threadimpl.h" void incref(Ref *r) { _xinc(&r->ref); } long decref(Ref *r) { return _xdec(&r->ref); }