xHarbour Reference Documentation > Function Reference |
Queries or changes the default time interval for idle task processing.
HB_IdleSleepMSec( [<nNewInterval>] ) --> nOldInterval
The function returns the previous wait interval for idle tasks as a numeric value.
Function HB_IdleSleepMSec() queries or changes the number of milliseconds after which the next idle task is executed. This allows for fine tuning idle task processing and to optimize CPU usage on multi-user systems, such as Terminal Server, where a minimum amount of idle task processing is desirable.
See also: | HB_IdleAdd(), HB_IdleDel(), HB_IdleState(), HB_IdleSleepMSec(), HB_IdleWaitNoCPU() |
Category: | Background processing , xHarbour extensions |
Source: | rtl\idle.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com