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
[in]aInstance

A pointer to an OpenThread instance.


Definition at line 60 of file include/openthread/tasklet.h

otTaskletsArePending#

bool otTaskletsArePending (otInstance * aInstance)

Indicates whether or not OpenThread has tasklets pending.

Parameters
[in]aInstance

A pointer to an OpenThread instance.


Definition at line 71 of file include/openthread/tasklet.h

otTaskletsSignalPending#

void otTaskletsSignalPending (otInstance * aInstance)

OpenThread calls this function when the tasklet queue transitions from empty to non-empty.

Parameters
[in]aInstance

A pointer to an OpenThread instance.


Definition at line 79 of file include/openthread/tasklet.h