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!
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to