Been busy IRL for the whole weekend. Anyway, today's build works fine
(no more 100% cpu usage). Thanks for the answers, I learned some
valuable tips for debugging b2g problems with gdb and so on :)
On 05/25/13 16:37, Dave Hylands wrote:
I don't see how that code should be consuming 100% of the CPU. On any error,
len should be coming back as -1 which will break out of the loop. It will,
however toss data though.
If the loop executes more than once, the data read from the everything except
the last iteration is thrown away.
Dave Hylands
----- Original Message -----
From: "Thinker K.F. Li" <[email protected]>
To: [email protected]
Sent: Saturday, May 25, 2013 3:57:45 AM
Subject: Re: [b2g] b2g 100% cpu usage
pipeHandler() is for signaling of dispatching input events or other
events. If you can break on nsAppShell::NotifyNativeEvent() and
paste
the backtrace here. It may be helpful.
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g