efl/src/lib/eio
pierre lamot d958afd9fd eio: add OSX implementation of eio_monitor based on FSEvent
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>
2015-03-12 07:43:59 +01:00
..
Eio.h eio: add OSX implementation of eio_monitor based on FSEvent 2015-03-12 07:43:59 +01:00
eio_dir.c eio - fix possible stringhare del bug in dir chmod 2014-08-14 19:40:54 +09:00
eio_eet.c eio: formatting 2013-01-03 07:47:27 +00:00
eio_file.c eio: actually correctly set all field to NULL. 2014-10-18 15:22:30 +02:00
eio_inline_helper.x fix warning related to argument in generating doxygen 2014-01-07 11:27:15 +09:00
eio_main.c eio: forcefully wait on shutdown for all thread to stop. 2015-01-07 16:45:07 +01:00
eio_map.c eio: fix wrong container set in eio_file_map_new. 2013-01-14 10:11:27 +00:00
eio_monitor.c eio monitors no longer trigger a CRI error during free 2014-03-21 14:21:04 -04:00
eio_monitor_cocoa.c eio: add OSX implementation of eio_monitor based on FSEvent 2015-03-12 07:43:59 +01:00
eio_monitor_inotify.c inotify: Fix safety after read in 3 places 2014-10-28 10:54:51 +09:00
eio_monitor_poll.c eio: add OSX implementation of eio_monitor based on FSEvent 2015-03-12 07:43:59 +01:00
eio_monitor_win32.c eio: fix segmentation fault on eio_monitor for win32 api 2015-03-12 07:43:58 +01:00
eio_private.h eio: forcefully wait on shutdown for all thread to stop. 2015-01-07 16:45:07 +01:00
eio_single.c eio: forcefully wait on shutdown for all thread to stop. 2015-01-07 16:45:07 +01:00
eio_xattr.c eio: actually correctly set all field to NULL. 2014-10-18 15:22:30 +02:00