Compartilhar via


Kernel Global Variables for Scheduling (Windows CE 5.0)

Send Feedback

The kernel exports a number of global variables that the OAL reads and modifies. The kernel exports the following items:

  • CurMSec

    DWORD counter of the number of milliseconds since system boot. The user can read this variable by calling GetTickCount.

  • dwReschedTime

    DWORD containing the millisecond count of the next time the kernel expects to run the scheduler.

  • curridlehigh, curridlelow, and idleconv

    DWORD variables that implement a 64-bit counter reflecting the number of milliseconds the system has been idle. The user can read this counter by calling GetIdleTime.

The OAL samples also define a number of global variables that are local to the OAL and not accessed by the kernel. These are not part of the kernel-scheduling interface and may not be present on all OAL samples.

See Also

Kernel Scheduler | Debugging and Testing

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.