On Wed, Mar 7, 2012 at 9:41 AM, Vincent Torri <vincent.to...@gmail.com> wrote: > On Wed, Mar 7, 2012 at 9:36 AM, Cedric BAIL <cedric.b...@free.fr> wrote: >> Yop, >> >> On Wed, Mar 7, 2012 at 8:34 AM, Vincent Torri <vincent.to...@gmail.com> >> wrote: >>> that function is in eina_file.c, but it is not used in that file, and >>> it does not appear in eina_file.h. Should it be exported or removed ? >> >> It's a private function called by eina_mmap.c when a page fault occur >> (detected by a SIGBUS on Unix system). This could later be used by Eio >> for example to detect if a fault occured during a mmpaed file access. > > ha, ok. Then it should be in the 'global' part, not in the API part. > And if you really plan to use it in eio, then it should be part of the > API
No, it will not be directly called by eio, it's an internal call for eina. Eio will call eina_file_map_faulted to know if a mmap area as faulted during it's access. The faulty flag beeing set by eina_file_mmap_faulty. -- Cedric BAIL ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel