- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Class Hierarchy
- Data Fields

# PICOTASK Struct Reference
[Debug Features]

Task info structure. More...

`#include <picoos.h>`

## Data Fields
PICOTASK * | next
| Pointer to the next task info structure.
PICOTASK * | prev
| 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).
PICOEVENT * | event
| 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:

- picoos.h