a
This commit is contained in:
16
libc/fmtlock.c
Normal file
16
libc/fmtlock.c
Normal file
@ -0,0 +1,16 @@
|
||||
#include <u.h>
|
||||
#include <libc.h>
|
||||
|
||||
static Lock fmtl;
|
||||
|
||||
void
|
||||
_fmtlock(void)
|
||||
{
|
||||
lock(&fmtl);
|
||||
}
|
||||
|
||||
void
|
||||
_fmtunlock(void)
|
||||
{
|
||||
unlock(&fmtl);
|
||||
}
|
Reference in New Issue
Block a user