Hi folks,
I switched to 4.15, which has assertions compiled in and it appeared,
that I'm registering certain callback with certain watcher while
previous callback with same watcher was not completed and not removed
from event loop. I added check for this and so far everything works ok,
thank
Thanks a lot for your comments Marc, I'll try to debug my code more,
would ask list again if I'll meet any serious difficulties.
On 04/08/2014 02:46 PM, Marc Lehmann wrote:
On Tue, Apr 08, 2014 at 12:40:41AM -0700, Kirill Timofeev wrote:
Hi Marc,
yes, I was using this url as starting point:
On Tue, Apr 08, 2014 at 12:40:41AM -0700, Kirill Timofeev wrote:
> Hi Marc,
>
> yes, I was using this url as starting point:
> http://codefundas.blogspot.com/2010/09/create-tcp-echo-server-using-libev.html
yeah, the infinite loop in there is pointless, ev_run/ev_loop does not
return if there is
Hey,
2014-04-08 11:53 GMT+04:00 Kirill Timofeev :
> while loop was copy pasted from example I used as starting point. While
> loop is needed to run program forever, but looks like adding event handlers
> should be done in the loop as well. Frankly speaking I don't understand how
> all watchers we
Hi Konstantin,
while loop was copy pasted from example I used as starting point. While
loop is needed to run program forever, but looks like adding event
handlers should be done in the loop as well. Frankly speaking I don't
understand how all watchers were dropped in my case.
Thanks,
Kirill.
2014-04-08 11:40 GMT+04:00 Kirill Timofeev :
>
> Could you please point me to code example or documentation regarding
> current best practice for keeping event loop running forever?
while (1) {
> ev_loop(loop, 0);
> }
>
ev_loop will run on it's own until it has nothing to do (i.e.
Hi Marc,
yes, I was using this url as starting point:
http://codefundas.blogspot.com/2010/09/create-tcp-echo-server-using-libev.html
Could you please point me to code example or documentation regarding
current best practice for keeping event loop running forever?
here is excerpt from my cod
On Mon, Apr 07, 2014 at 06:40:03PM -0700, Kirill Timofeev wrote:
> I'm not calling ev_run directly in my code, but let me check latest
the backtrace shows it is being called from main. maybe you are using the
libev3 compatibility mode: in libev3, ev_run was called ev_loop.
--
Th
Hi Marc,
thank you very much for prompt response.
Sorry for extra header fields, unfortunately this is beyond my control :(.
I'm not calling ev_run directly in my code, but let me check latest
libev version and see if this would resolve this issue.
Thanks,
Kirill.
On 04/07/2014 03:54 PM, Ma
On Mon, Apr 07, 2014 at 09:17:43AM -0700, Kirill Timofeev wrote:
> Hi folks,
X-Note: This Email was scanned by AppRiver SecureTide
[...]
It's not prudent to include a bunch of x-note headers in your e-mail -
first of all, such headers are meaningless to others (and a nuisance
to some), and actua
Hi folks,
I've created libev based application, which works ok for some time, but
at random moment it stops responding and consumes 100% cpu. Here is
information on os and libev version:
kirill.timofeev@els-abacus-stage-01:~$ uname -a
Linux els-abacus-stage-01 3.8.0-37-generic #53~precise1-Ub
11 matches
Mail list logo