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