aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/fmtlock2.c
AgeCommit message (Collapse)AuthorFilesLines
2020-01-14lib9: make formatting lock-free againRuss Cox1-17/+5
First use of <stdatomic.h>. We will see if any supported systems don't have it yet. (C11 was so last decade.) Fixes #338.
2020-01-13lib9/fmt: avoid racy access to installed fmt formatsRuss Cox1-5/+17
2004-12-27lock using Lock instead of QLock.rsc1-3/+3
qlocks are complicated enough that they need to be able to print during debugging.
2004-12-26add proper locking for libfmt!rsc1-0/+16