This class implements the tasklet scheduler.
More...
#include <src/core/common/tasklet.hpp>
This class implements the tasklet scheduler.
§ AreTaskletsPending()
| bool ot::TaskletScheduler::AreTaskletsPending |
( |
void |
| ) |
|
|
inline |
This method indicates whether or not there are tasklets pending.
- Return values
-
| TRUE | If there are tasklets pending. |
| FALSE | If there are no tasklets pending. |
§ Post()
This method enqueues a tasklet into the run queue.
- Parameters
-
| [in] | aTasklet | A reference to the tasklet to enqueue. |
- Return values
-
| OT_ERROR_NONE | Successfully enqueued the tasklet. |
| OT_ERROR_ALREADY | The tasklet was already enqueued. |
The documentation for this class was generated from the following files: