But do you need the other idler? _ecore_con_url_idler_handler ? Couldn't the fd wakeup just perform curl handling directly?
S. On 11/11/2011 11:12 AM, Bluezery wrote: > I have done two more things. > Please check attached patch. > I have tested using elm_map. I works well. > > 1) EINA_LIST_FOREACH_SAFE is removed and EINA_LIST_FREE is used instead. > 2) I removed complete idler and use ecore_event_add() directly. > > However, ecore_main_fd_handler_del() sometimes give warnnings because > file descriptors cannot be controlled by ecore_con and only curl > controls those internally. > I think it can be ignored > > On Fri, Nov 11, 2011 at 5:55 PM, Sebastian Dransfeld<s...@tango.flipp.net> > wrote: >> On 11/11/2011 09:41 AM, Bluezery wrote: >>> It's my mistake. >>> >>> fixed patch is attached again. >>> I have removed active flag also. >>> I use eina_list_data_find() instead. >> >> Also, there is used a lot of idlers. I think all idlers can be removed >> now, as we only do one multi perform on each fd handler ready. >> >> The reason the idlers were added, was that we did multi_perform in loop >> for 0.1s (or something like that) which clogged the system. >> >> Cedric was the one adding the idlers, Cedric??? >> >> S. >> >> ------------------------------------------------------------------------------ >> RSA(R) Conference 2012 >> Save $700 by Nov 18 >> Register now >> http://p.sf.net/sfu/rsa-sfdev2dev1 >> _______________________________________________ >> enlightenment-devel mailing list >> enlightenment-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> >> >> >> ------------------------------------------------------------------------------ >> RSA(R) Conference 2012 >> Save $700 by Nov 18 >> Register now >> http://p.sf.net/sfu/rsa-sfdev2dev1 >> >> >> _______________________________________________ >> enlightenment-devel mailing list >> enlightenment-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel