On Sat, Aug 14, 2010 at 8:19 AM, Enlightenment SVN
<no-re...@enlightenment.org> wrote:
>  static int
>  _ecore_main_select(double timeout)
>  {
> @@ -625,18 +848,10 @@
>    FD_ZERO(&exfds);
>
>    /* call the prepare callback for all handlers */
> +   _ecore_main_prepare_handlers();
>  #ifndef HAVE_EPOLL
>    EINA_INLIST_FOREACH(fd_handlers, fdh)
>      {
> -        if ((!fdh->delete_me) && (fdh->prep_func))
> -          {
> -             fdh->references++;
> -             fdh->prep_func(fdh->prep_data, fdh);
> -             fdh->references--;
> -          }
> -     }

Is _ecore_main_prepare_handlers() outside of #ifndef HAVE_EPOLL on
purpose now or just a mistake?

How much is this stuff tested? Mike, could you write some simple tests
to fill in ecore test suite?



Lucas De Marchi

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to