Event loop plus another event loop
Marat Dakota
dakota at brokenpipe.ru
Sun Jan 18 01:10:13 UTC 2015
Hi,
Please correct me if I'm wrong, but as for my understanding nginx works
like this:
// Busy loop
while (true) {
`process events and call callbacks`();
}
I'm writing a module for a piece of software which works the same way.
So, what I need is a mechanism to call both handlers in a busy loop:
while (true) {
`process events and call callbacks`();
`process my piece of software events and call callbacks`();
}
Is this possible?
Thanks.
--
Marat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20150118/e9792111/attachment.html>
More information about the nginx-devel
mailing list