Welcome! Log In Create A New Profile

Advanced

Re: async notification in Nginx

Alder Network
May 13, 2013 05:36PM
By browsing the source code, it seems ngx_event_t can be
used for this purpose, but looks like ngx_event_t has to be
associated with ngx_connection_t, does ngx_connection_t
have to be a socket, or a regular file descriptor will do? Is there
any forum for wrting nginx modules?



On Fri, May 10, 2013 at 6:37 PM, Alder Network <aldernetwork@gmail.com>wrote:

> I am writing a Niginx module that from several of worker threads
> that I created by own, I need to notify Nginx's main thread so
> the main thread (single-threaded nginx) doesn't need to poll
> periodically in timer context. What would be the reliable way to
> do that in Nginx? Anybody advice would be appreciated.
>
> - Alder
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

async notification in Nginx

Alder Network May 10, 2013 09:38PM

Re: async notification in Nginx

Alder Network May 13, 2013 05:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 176
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