xHarbour Reference Documentation > Function Reference |
Toggles the mode for CPU usage in Idle wait states.
HB_IdleWaitNoCPU( [<lNewMode>] ) --> lOldMode
The function returns the previous mode for wait states as a logical value.
By default, an idle wait state is accomplished by an internal function that monitors a time interval. This requires CPU resources. When <lNewMode> is set to .T. (true), a wait state is supervised by the operating system, which requires no extra CPU resources.
See also: | HB_BackGroundAdd(), HB_IdleAdd(), HB_IdleState(), HB_IdleSleepMSec() |
Category: | Background processing , xHarbour extensions |
Source: | rtl\idle.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com