Welcome! Log In Create A New Profile

Advanced

Re: Dumping cyclic error_log memory

Maxim Dounin
January 09, 2020 06:48AM
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
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Dumping cyclic error_log memory

Robert Paprocki 418 January 03, 2020 11:02PM

Re: Dumping cyclic error_log memory

Datong Sun 194 January 08, 2020 07:52PM

Re: Dumping cyclic error_log memory

Robert Paprocki 175 January 08, 2020 09:10PM

Re: Dumping cyclic error_log memory

Maxim Dounin 225 January 09, 2020 06:48AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 320
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready