Robert M. Stockmann <st...@stokkie.net> wrote:
>
> Does bind 9 need C11 atomics ?

Yes. BIND used to have its own atomic implementation but that kind of code
is tricky and arcane, so it's better to use the standard implementations
in the C library.

It is not just a matter of the hardware BIND runs on: atomics rely on
memory barriers that the compiler needs to know about, so that it does not
move code out of a critical section when reordering things for
optimization. And BIND is always multi-threaded and pre-emption can
happen at any time even on a single CPU.

Tony.
-- 
f.anthony.n.finch  <d...@dotat.at>  https://dotat.at/
champion the freedom, dignity, and well-being of individuals

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to