Commit graph

4 commits

Author SHA1 Message Date
Russ Cox
9505cd15a6 lib9: make formatting lock-free again
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-14 18:04:00 -05:00
Russ Cox
7ba9f9467d lib9/fmt: avoid racy access to installed fmt formats 2020-01-13 11:42:24 -05:00
rsc
e8edc17986 lock using Lock instead of QLock.
qlocks are complicated enough that
they need to be able to print during
debugging.
2004-12-27 05:18:22 +00:00
rsc
5787ba4d73 add proper locking for libfmt! 2004-12-26 23:17:18 +00:00