On Fri, Dec 7, 2012 at 3:41 AM, Alex Wu <[email protected]> wrote:
> Hi,
>
> In ecore_wl_init(), adding wayland display fd with ECORE_FD_WRITE flag
> make CPU usage 100%. This is true for all efl app running on wayland.
>
> The proper way to monitor the ECORE_FD_WRITE is when the
> wl_display_flush() return value < 0 and errno == EAGAIN. And if
> wl_display_flush() return, we remove ECORE_FD_WRITE flag from the
> display fd.
>
> Patch attached.
>

Thanks Alex, I confirmed this and the patch solves the problem of CPU
consuming 100%.

In SVN r80476.

-- 
Eduardo de Barros Lima ◤✠◢
[email protected]

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to