hb_idleState()
Evaluates a single background task and calls the garbage collector.
- Syntax
-
- void hb_idleState( void );
- Arguments
-
- None
- Returns
-
- Nothing
- 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
- Platforms
-
- All
- Files
-
- source/rtl/idle.c
- See Also