diff options
author | Ryan Lortie <desrt@desrt.ca> | 2015-03-05 21:28:29 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2015-03-20 11:58:42 -0400 |
commit | 779c809a3d07fca6c1da4f87d4ce6cf7f2d95608 (patch) | |
tree | cc027f7c874a190e987ebb7aadb8d3967062c95d /gio/glocalfilemonitor.h | |
parent | fd8b45eb6785831d4a3749b31724de6eea74de1a (diff) |
inotify: rewrite inotify-kernel
Remove the hardwired 1 second event queue logic from inotify-kernel and
replace it with something vastly less complicated.
Events are now reported as soon as is possible instead of after a
delay.
We still must delay IN_MOVED_FROM events in order to look for the
matching IN_MOVED_TO events, and since we want to report events in order
this means that events behind those events can also be delayed. We
limit ourselves, however:
- no more than 100 events can be delayed at a time
- no event can be delayed by more than 10ms
https://bugzilla.gnome.org/show_bug.cgi?id=627285
Diffstat (limited to 'gio/glocalfilemonitor.h')
0 files changed, 0 insertions, 0 deletions