Hello!

On Wed, Jan 08, 2020 at 06:08:59PM -0800, Robert Paprocki wrote:

> A curious point then, why ngx_atomic_fetch_add is used to 
> advance the buffer position, if an atomic operation isn’t 
> necessary since the buffer isn’t shared. Is it a style choice?

It is to make debug logging work in threads.

-- 
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to