plan9port/src/libthread/ref.c

14 lines
115 B
C
Raw Normal View History

2003-09-30 17:47:42 +00:00
#include "threadimpl.h"
void
incref(Ref *r)
{
_xinc(&r->ref);
}
long
decref(Ref *r)
{
return _xdec(&r->ref);
}