Potential bug in ngx_event.c

Rian Hunter rian at alum.mit.edu
Mon Sep 2 16:48:46 UTC 2019


On 2019-09-02 09:24, Maxim Dounin wrote:
> My bad, you are right here.
> 
> This isn't a problem though, as accept mutex does not use
> sem_wait(), but only uses ngx_shmtx_trylock() - that is, only
> atomic operations.
> 
> And for other mutexes we allocate ngx_shmtx_t structures from
> shared memory, so it works fine.

Got it, very much appreciate the effort looking into this and following 
up. Cheers!


More information about the nginx-devel mailing list