On Thu, 09 Dec 2010 10:00:39 +0900 Mike McCormack <mj.mccorm...@samsung.com> wrote:
> On 12/09/2010 01:20 AM, Mike Blumenkrantz wrote: > > After some brainstorming in irc today, we arrived at an interesting question > > regarding the infinite loop bug after finding this > > http://stackoverflow.com/questions/883282/select-ebadf-which-fd-is-bad > > > > Upon arriving at _ecore_main_fd_handlers_bads_rem, perhaps we should rebuild > > the epoll fd (ie close it, then reopen and add all fds again) as well by > > default? Or, if not by default, at least rebuild it if we don't find > > anything by looping over the inlist? > > It's already done. See ecore/src/lib/ecore/ecore_main.c # 272 > > thanks, > > Mike > Line 272 is this: if (!ECORE_MAGIC_CHECK(fdh, ECORE_MAGIC_FD_HANDLER)) { ECORE_MAGIC_FAIL(fdh, ECORE_MAGIC_FD_HANDLER, "_ecore_main_fdh_poll_del"); } -- Mike Blumenkrantz Zentific: We run the three-legged race individually. ------------------------------------------------------------------------------ This SF Dev2Dev email is sponsored by: WikiLeaks The End of the Free Internet http://p.sf.net/sfu/therealnews-com _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel