d958afd9fd
this patch adds an implementation of eio_monitor based on FSEvent for OSX. This implentation has some limitations compared to inotify implementation. Folowing events are not detected: - EIO_MONITOR_FILE_CLOSED - EIO_MONITOR_SELF_RENAME - EIO_MONITOR_SELF_DELETED It should be noted that some events that happend before the call to eio_monitor_add can be catched. This is why sleep timers have been added in the test suite. Tests have been added to check uncovered scenarios. some things might still be improved: - self_deleted events for files might be handled by checking the file_name manually - self_deleted events for directories might be handled by setting kFSEventStreamCreateFlagWatchRoot. I've noticed by doing so that a lot more unwanted event are raised Signed-off-by: Cedric BAIL <cedric@osg.samsung.com> |
||
---|---|---|
.. | ||
Eio.h | ||
eio_dir.c | ||
eio_eet.c | ||
eio_file.c | ||
eio_inline_helper.x | ||
eio_main.c | ||
eio_map.c | ||
eio_monitor.c | ||
eio_monitor_cocoa.c | ||
eio_monitor_inotify.c | ||
eio_monitor_poll.c | ||
eio_monitor_win32.c | ||
eio_private.h | ||
eio_single.c | ||
eio_xattr.c |