次の方法で共有


ticksleft

This global variable specifies the number of system ticks that have elapsed but have not yet been processed by the scheduler's sleep queues, potentially indicating that there are threads on the sleep queue ready to run.

  DWORD ticksleft;

Remarks

The OEM uses this variable in the OEMIdle function and the OEM timer ISR. If ticksleft is non-zero in OEMIdle, the kernel returns from OEMIdle immediately; there is no idle because there may be threads on the sleep queue ready to run. If ticksleft is non-zero in the OEM timer, ISR, SYSINTR_RESCHED is returned to indicate that a reschedule may be required.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.10 and later Fwpc.c    

See Also

OEMIdle