次の方法で共有


DefaultThreadQuantum (Compact 2013)

10/16/2014

This variable sets the default thread quantum of all threads.

Syntax

extern DWORD DefaultThreadQuantum;

Remarks

You set this variable by using the flag FIXUPVAR during the Make Binary Image phase of the build process.

The OEMInitGlobals function in oal.exe uses the variable DefaultThreadQuantum to set the dwDefaultThreadQuantum member of the OEMGLOBAL structure. This structure sets the CPU-specific variables before OEMInit executes, so that the kernel can use them.

Requirements

Header

oemglobal.h

See Also

Reference

Optional OAL Variables