nRF5 SDK for Thread and Zigbee v1.0.0
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Tasklets

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

Functions

void otTaskletsProcess (otInstance *aInstance)
 
bool otTaskletsArePending (otInstance *aInstance)
 
void otTaskletsSignalPending (otInstance *aInstance)
 

Detailed Description

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

Function Documentation

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.
void otTaskletsProcess ( otInstance aInstance)

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

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