<div dir="ltr"><div><div>By browsing the source code, it seems ngx_event_t can be <br></div>used for this purpose, but looks like ngx_event_t has to be<br>associated with ngx_connection_t, does ngx_connection_t<br></div>have to be a socket, or a regular file descriptor will do? Is there<br>
any forum for wrting nginx modules?<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 10, 2013 at 6:37 PM, Alder Network <span dir="ltr"><<a href="mailto:aldernetwork@gmail.com" target="_blank">aldernetwork@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I am writing a Niginx module that from several of worker threads<br></div><div>that I created by own, I need to notify Nginx's main thread so<br>
</div><div>the main thread (single-threaded nginx) doesn't need to poll <br>
periodically in timer context. What would be the reliable way to <br>do that in Nginx? Anybody advice would be appreciated.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>
<br></div>- Alder<br></font></span></div>
</blockquote></div><br></div>