ref: b77bdf97b0177c7b5c7998479eda1f9f78d6b95b dir: /include/thread.h/
typedef struct Ref Ref; struct Ref { long ref; }; static void incref(Ref *r) { r->ref++; } static long decref(Ref *r) { return --(r->ref); }