You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
msaf1980
added a commit
to msaf1980/libev
that referenced
this issue
Oct 17, 2019
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)
The text was updated successfully, but these errors were encountered: