TIOVX User Guide
tivx_task.h File Reference

Interface to Task APIs. More...

Go to the source code of this file.

Data Structures

struct  tivx_task
 Typedef for a task. More...
 
struct  tivx_task_create_params_t
 Parameters that can be set during task creation. More...
 

Macros

#define TIVX_TASK_PRI_HIGHEST   (0u)
 Constant to define highest priority for a task.
 
#define TIVX_TASK_PRI_LOWEST   (15u)
 Constant to define lowest priority for a task.
 
#define TIVX_TASK_AFFINITY_ANY   (0xFFFFu)
 constant to indicate task affinity can be decided by OS on a SMP CPU
 
#define TIVX_MAX_TASK_NAME   (12u)
 Max Task Name Size.
 

Typedefs

typedef void(VX_CALLBACKtivx_task_main_f) (void *app_var)
 Entry point of task. More...
 

Functions

void tivxTaskSetDefaultCreateParams (tivx_task_create_params_t *params)
 Used to set default task create parameters in parameter structure. More...
 
vx_status tivxTaskCreate (tivx_task *task, const tivx_task_create_params_t *params)
 Create a task. More...
 
vx_status tivxTaskDelete (tivx_task *task)
 Delete a task. More...
 
void tivxTaskWaitMsecs (uint32_t msec)
 waits/sleeps for given milliseconds More...
 

Detailed Description

Interface to Task APIs.

Definition in file tivx_task.h.