Greetings,
There are somethings I need to do in the idle loop. I have added my
handler stub implementing Handler interface - in other words there is no
logic in the method apart from return statement. I have noticed that if
I add the idle handler, process CPU immediately jumps high and keeps one
CPU at 100% according to top command. CPU usage jumps to normal if I
don't add the handler.
Given that idle method is getting called large number of times, is there
anything I can do so that CPU does not jump to 100%? As noted above, I
have not yet started with my implementation yet, this is just stub
function returning true.
Regards,
Niranjan
|