Tasklets#
This module includes functions that control the Thread stack's execution.
Functions#
void
otTaskletsProcess(otInstance *aInstance)
Run all queued OpenThread tasklets at the time this is called.
bool
otTaskletsArePending(otInstance *aInstance)
Indicates whether or not OpenThread has tasklets pending.
void
otTaskletsSignalPending(otInstance *aInstance)
OpenThread calls this function when the tasklet queue transitions from empty to non-empty.
Function Documentation#
otTaskletsProcess#
void otTaskletsProcess (otInstance * aInstance)
Run all queued OpenThread tasklets at the time this is called.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
otInstance * | [in] | aInstance | A pointer to an OpenThread instance. |
otTaskletsArePending#
bool otTaskletsArePending (otInstance * aInstance)
Indicates whether or not OpenThread has tasklets pending.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
otInstance * | [in] | aInstance | A pointer to an OpenThread instance. |
otTaskletsSignalPending#
void otTaskletsSignalPending (otInstance * aInstance)
OpenThread calls this function when the tasklet queue transitions from empty to non-empty.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
otInstance * | [in] | aInstance | A pointer to an OpenThread instance. |