]> git.ipfire.org Git - thirdparty/bind9.git/commit
Make the memory and mempool counters to be stdatomic types
authorOndřej Surý <ondrej@isc.org>
Thu, 4 Feb 2021 20:56:49 +0000 (21:56 +0100)
committerOndřej Surý <ondrej@sury.org>
Thu, 18 Feb 2021 18:33:51 +0000 (19:33 +0100)
commitb09106e93aaa61d195f9bffe1bb493764dd8da1f
treec442e2cf3f71757b80689fd1ce994dd36119486b
parent0f4413914595a7c27da56125d4c6e385ef199c4f
Make the memory and mempool counters to be stdatomic types

This is yet another step into unlocking some parts of the memory
contexts.  All the regularly updated variables has been turned into
atomic types, so we can later remove the locks when updating various
counters.

Also unlock as much code as possible without breaking anything.
lib/isc/include/isc/mem.h
lib/isc/mem.c
lib/isc/win32/libisc.def.in