<div dir="ltr">Hi,<div><br></div><div>Please correct me if I'm wrong, but as for my understanding nginx works like this:</div><div><br></div><div>// Busy loop<br></div><div>while (true) {</div><div>   `process events and call callbacks`();</div><div>}</div><div><br></div><div>I'm writing a module for a piece of software which works the same way.</div><div>So, what I need is a mechanism to call both handlers in a busy loop:</div><div><br></div><div><div>while (true) {</div><div>   `process events and call callbacks`();</div><div>   `process my piece of software events and call callbacks`();</div><div>}</div></div><div><br></div><div>Is this possible?</div><div><br></div><div>Thanks.</div><div><br></div><div>--</div><div>Marat</div></div>