code: drawterm

ref: 1f83e0681d7b05dfdcc6b24c1b97add6750751d6
dir: /libc/fmtlock.c/

View raw version
#include <u.h>
#include <libc.h>

static Lock fmtl;

void
_fmtlock(void)
{
	lock(&fmtl);
}

void
_fmtunlock(void)
{
	unlock(&fmtl);
}