OsysT_Lowmem_Callback_Proc
Abstract
Callback: Called as needed when a low-memory condition occurs.
Syntax
<lowmem_callback_proc_name> (state_ptr)
| Argument | Type | Description |
|---|---|---|
state_ptr |
void * |
User-defined state information specified when the callback was registered. |
Return Type
int
Non-zero value if the callback was successful; 0 otherwise.
Header
osys_lowmem.h
Details
Functions of this type should perform custom processing that can help deal with a low-memory condition. There can be many callbacks of this type, registered with different priority levels.