ref: 0ab5d34be4b8b9faa96d4691de95d6ae8c691f0b dir: /sys/src/libc/fmt/fmtlock.c/
#include <u.h> #include <libc.h> static Lock fmtl; void _fmtlock(void) { lock(&fmtl); } void _fmtunlock(void) { unlock(&fmtl); }