pico]OS  1.0.4
Data Fields
PICOTASK Struct Reference

Task info structure. More...

#include <picoos.h>

Data Fields

struct PICOTASKnext
 Pointer to the next task info structure.
struct PICOTASKprev
 Pointer to the previous task structure.
POSTASK_t handle
 Handle value of the pico]OS task.
POSTASKFUNC_t func
 First function that ran in the task context.
const char * name
 Name of this task (ASCII string)
PTASKSTATE state
 Current state of the task (see PTASKSTATE for details).
struct PICOEVENTevent
 Cross-reference to the involved event.
UINT_t timeout
 State of the task's timeout counter.

Detailed Description

Task info structure.

This structure can be used by a debugger IDE to display task status information. (used for debugging when POSCFG_FEATURE_DEBUGHELP is set to 1)

Note:
This structure must never be changed to keep compatibility with existing debugger integrations.
See also:
picodeb_tasklist, PICOEVENT

The documentation for this struct was generated from the following file: