GNOME Bugzilla – Bug 341585
gnome-vfs-monitor does not immediately process pending events
Last modified: 2006-07-13 16:48:03 UTC
Events sometimes stay queued until more events are received, because actually_dispatch_callback() does not reinstall the timeout (which is needed if there are more events waiting to be processed). That is, if there are pending events left after actually_dispatch_callback() has run, they will not be processed until another event is received by gnome_vfs_monitor_callback(). The attached patch fixes the issue.
Created attachment 65350 [details] [review] the fix
I am reassigning that bug to Monitoring, even if its not an inotify bug, because John is the author of that piece of code. At a first glance it looks good but I wanna wait for Johns comments. Thanks anyway :)
I agree the patch looks good. Please go ahead and commit.
Changing bug status to accepted-commit_now.
Committed as per Christian Kellner's request. Thanks for your efforts Jean-Yves! :)