I watch a file via inotify, when it is updated, i open it via
ev_io_init(..), and ev_io_start();
when all data is read, i close the file ev_io_stop(..), close(fd)
if a other inotify event is comming, when i open the file with:
ev_io_init(..), and ev_io_start();
in this time, the callback is not called, i need to call it explicitly via ev_invoke(...);
but this is a bad solution, if the file is huge, this will block all my other events watchers (timers, sockets, signals ...etc)
I watch a file via inotify, when it is updated, i open it via ev_io_init(..), and ev_io_start(); when all data is read, i close the file ev_io_stop(..), close(fd)
if a other inotify event is comming, when i open the file with: ev_io_init(..), and ev_io_start();
in this time, the callback is not called, i need to call it explicitly via ev_invoke(...); but this is a bad solution, if the file is huge, this will block all my other events watchers (timers, sockets, signals ...etc)