ref: c3690045d4e188ffb203fe59f08e26b681d275c8 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); }