lock using Lock instead of QLock.
qlocks are complicated enough that they need to be able to print during debugging.
This commit is contained in:
parent
73722a8bbf
commit
e8edc17986
@ -1,16 +1,16 @@
|
||||
#include <u.h>
|
||||
#include <libc.h>
|
||||
|
||||
static QLock fmtlock;
|
||||
static Lock fmtlock;
|
||||
|
||||
void
|
||||
__fmtlock(void)
|
||||
{
|
||||
qlock(&fmtlock);
|
||||
lock(&fmtlock);
|
||||
}
|
||||
|
||||
void
|
||||
__fmtunlock(void)
|
||||
{
|
||||
qunlock(&fmtlock);
|
||||
unlock(&fmtlock);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user