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