RE: Sending a notification to the main nginx thread

2021-10-07 Thread Eran Kornblau
> > -Original Message- > From: nginx-devel On Behalf Of Maxim Dounin > Sent: Thursday, 7 October 2021 20:17 > To: nginx-devel@nginx.org > Subject: Re: Sending a notification to the main nginx thread > > > Hello! > > In no particular order: >

RE: Sending a notification to the main nginx thread

2021-10-07 Thread Eran Kornblau
> -Original Message- > From: nginx-devel On Behalf Of Maxim Dounin > Sent: Thursday, 7 October 2021 16:07 > To: nginx-devel@nginx.org > Subject: Re: Sending a notification to the main nginx thread > > Hello! > > To re-iterate: inside a "side thread&

Re: Sending a notification to the main nginx thread

2021-10-07 Thread Dk Jack
#http_subrequests Dk. On Wed, Oct 6, 2021 at 12:53 PM Eran Kornblau wrote: > > > > -Original Message- > > From: nginx-devel On Behalf Of Maxim > Dounin > > Sent: Wednesday, 6 October 2021 16:12 > > To: nginx-devel@nginx.org > > Subject: Re: Sending

Re: Sending a notification to the main nginx thread

2021-10-07 Thread Maxim Dounin
Hello! On Thu, Oct 07, 2021 at 03:16:37PM +, Eran Kornblau wrote: > > -Original Message- > > From: nginx-devel On Behalf Of Maxim Dounin > > Sent: Thursday, 7 October 2021 16:07 > > To: nginx-devel@nginx.org > > Subject: Re: Sending a notific

Re: Sending a notification to the main nginx thread

2021-10-07 Thread Maxim Dounin
Hello! On Wed, Oct 06, 2021 at 07:53:00PM +, Eran Kornblau wrote: > > > > -Original Message- > > From: nginx-devel On Behalf Of Maxim Dounin > > Sent: Wednesday, 6 October 2021 16:12 > > To: nginx-devel@nginx.org > > Subject: Re: Sending a n

RE: Sending a notification to the main nginx thread

2021-10-06 Thread Eran Kornblau
> > -Original Message- > From: nginx-devel On Behalf Of Maxim Dounin > Sent: Wednesday, 6 October 2021 16:12 > To: nginx-devel@nginx.org > Subject: Re: Sending a notification to the main nginx thread > > Hello! > > First of all, you may want

Re: Sending a notification to the main nginx thread

2021-10-06 Thread Maxim Dounin
Hello! On Tue, Oct 05, 2021 at 02:04:14PM +, Eran Kornblau wrote: > Hi all, > > I’m planning a module in which I want to send a notification from a side > thread to the main nginx thread. > I checked the implementation of the thread pool module, and saw that it uses > ngx_notify for that.

Sending a notification to the main nginx thread

2021-10-05 Thread Eran Kornblau
Hi all, I’m planning a module in which I want to send a notification from a side thread to the main nginx thread. I checked the implementation of the thread pool module, and saw that it uses ngx_notify for that. But, checking how that function is implemented (checked epoll), I saw that it