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