Partager via


Kernel Global Variables for Scheduling (Windows Embedded CE 6.0)

1/5/2010

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

Concepts

Kernel Scheduler