User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

hb_idleState()

Evaluates a single background task and calls the garbage collector.
Syntax
void hb_idleState( void );
Argument(s)
None
Description
hb_idleState() is a C function that requests garbage collection and executes a single background task defined by the codeblock passed with hb_idleAdd() function. It also releases the CPU time slices for platforms that require it.
Every call for this function evaluates different task in the order of task creation. There are no arguments passed during codeblock evaluation.
This function can be safely called even if there are no background tasks defined.
This function is automatically called from the Inkey() function.
Status
Ready
Compliance
This is Harbour specific
Platform(s)
This is available on all platforms
See also

hb_idleAdd(), hb_idleDel(), hb_idleState()