Tasklets

This module includes functions that control the Thread stack's execution.

Summary

Functions

otTaskletsArePending(otInstance *aInstance)
bool
Indicates whether or not OpenThread has tasklets pending.
otTaskletsProcess(otInstance *aInstance)
void
Run all queued OpenThread tasklets at the time this is called.
otTaskletsSignalPending(otInstance *aInstance)
void
OpenThread calls this function when the tasklet queue transitions from empty to non-empty.

Functions

otTaskletsArePending

bool otTaskletsArePending(
  otInstance *aInstance
)

Indicates whether or not OpenThread has tasklets pending.

Details
Parameters
[in] aInstance
A pointer to an OpenThread instance.
Return Values
TRUE
If there are tasklets pending.
FALSE
If there are no tasklets pending.

otTaskletsProcess

void otTaskletsProcess(
  otInstance *aInstance
)

Run all queued OpenThread tasklets at the time this is called.

Details
Parameters
[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.

Details
Parameters
[in] aInstance
A pointer to an OpenThread instance.