when I run helloword,cpu is 100%? why?
This? http://www.cocos2d-x.org/boards/12/topics/903 I get the same thing. In fact, the same thing also happens in the Android emulator, so it’s not just the win32 platform, apparently (other android apps in the emulator don’t cause this).
This didn’t get much attention, but I think it really should, even if win32 is just considered a testing target for convenience. It can cause batteries to run down and computers/phones to spontaneously reboot, or worse. That’s not good.
There is probably a better way to get better cpu utilization without hurting the frame rate too much — while(true) should be a thing of the past by now…