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.

Detailed Description

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

Function Documentation

◆ otTaskletsArePending()

bool otTaskletsArePending ( otInstance aInstance)

Indicates whether or not OpenThread has tasklets pending.

Parameters
[in]aInstanceA pointer to an OpenThread instance.
Return values
TRUEIf there are tasklets pending.
FALSEIf there are no tasklets pending.

◆ otTaskletsProcess()

void otTaskletsProcess ( otInstance aInstance)

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

Parameters
[in]aInstanceA 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
[in]aInstanceA pointer to an OpenThread instance.