Dear List,

I have an ev_check watcher in my event loop and it gets invoked approximately 
every minute or so.
There is no other activity happening and I assume that the loop should just 
stay idle instead.

Is it the intended behavior?

Regards.

PS. The code sample.

#include <ev.h>
#include <stdio.h>

void cb(struct ev_loop* loop, struct ev_check* instance, int revents)
{
    printf("ev_check\n");
}

int main()
{
    struct ev_check c;

    ev_check_init(&c, cb);

    ev_check_start(ev_default_loop(0), &c);

    ev_loop(ev_default_loop(0), 0);

    return 0;
}


_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to