On Fri, Dec 26, 2014 at 7:35 PM, Davide Andreoli <[email protected]> wrote: > No comments on this issue? > reply to myself to keep the mail alive
Sorry, I didn't answer, but I am guessing that the internal rely of ecore_file_monitor expect the kernel to trigger two events when it doesn't. My guess is that if you use Eio, you will not have that issue. > 2014-11-28 19:51 GMT+01:00 Davide Andreoli <[email protected]>: > >> Hi all, >> I'm facing a stupid problem with ecore inotify, the bug is quite simple: >> if you set 2 different monitors on the same folder only the first callback >> will be called when something in the folder change. >> >> This is really annoying, I'm developing a classic 2 panes filemanager and >> I have 2 monitors for the 2 view, when they point to the same folder only >> one gets updated. >> >> The problem in the code is quite simple as you can see in >> ecore_file_monitor_inotify.c (around line 170), we infact search for just >> the first attached monitor using the >> _ecore_file_monitor_inotify_monitor_find() function. >> >> Here a simple patch that fix the problem for me: >> http://pastebin.com/e5gE7tNd >> >> What do you think? is the right solution? what about the other backend? >> >> thanks >> davemds >> > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming! The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Cedric BAIL ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
