Power Management Considerations (Windows CE 5.0)
Frequent cycles in and out of the idle state can worsen the real-time performance of a target device. When the kernel calls the OEMIdle function, the target device is requested to go into a sleep, or idle, state. This consists of saving the current state, placing the memory into a refresh state if necessary, stopping the clock, and suspending execution. When an interrupt, including a scheduled interrupt generated by the timer occurs, the device ends its idle state, the previous state is restored, and the scheduler is invoked. If no new threads are ready to run, the kernel will again call OEMIdle. To avoid adversely affecting real-time performance, set OEMIdle to return immediately when it is called.
See Also
Real-Time Performance Considerations
Send Feedback on this topic to the authors